npx agentspec-cli install e9a2f3df-b489-4498-87ea-14bee27435a7 --file-type agents-md→ .agents/
# AI Agent Instructions for Clingwrap This document provides guidance for AI agents working on the clingwrap codebase. ## Project Overview Clingwrap is a debugging information collection tool that bundles system state data into a zip file for later analysis. It is a relatively simple project with a single main module. ## Key Files | File | Purpose | |------|---------| | `clingwrap/main.py` | Core implementation - all job classes and CLI | | `pyproject.toml` | Project metadata, dependencies, and build configuration | | `clingwrap/examples/*.cwd` | Example configuration files | | `docs/` | Documentation directory | ## Architecture The codebase uses a job-based architecture: 1. **Job base class** - Common functionality for all job types 2. **FileJob** - Copies individual files to the ZIP archive 3. **DirectoryJob** - Recursively processes directories, yielding FileJobs 4. **ShellJob** - Executes shell commands with timeout 5. **ShellEmitterJob** - Runs scripts that generate additional job definitions Jobs are processed depth-first to minimize memory usage. ## Code Style - Python 3.7+ compatible - Line length: 120 characters (flake8 configuration) - Single quotes for strings except docstrings - Use oslo.concurrency for process execution ## Testing Run tests with: ```bash tox -e py38 ``` Run linting with: ```bash tox -e flake8 ``` ## Common Tasks ### Adding a New Command Type 1. Create a new class inheriting from `Job` in `clingwrap/main.py` 2. Implement `__init__` calling `super().__init__(**kwargs)` 3. Override `execute()` or `_execute_inner()` as appropriate 4. Add the class to `JOB_MAP` dictionary 5. Document the new type in `docs/command-types.md` ### Adding a New Built-in Example 1. Create a new `.cwd` file in `clingwrap/examples/` 2. Document it in `docs/examples.md` 3. Update `docs/index.md` to list the new example ## Dependencies Key dependencies: - `click` - CLI framework - `pyyaml` - Configuration parsing - `oslo.concurrency` - Process execution with timeouts ## CI Infrastructure The project uses GitHub Actions for CI: - `functional-tests.yml` - Main CI: flake8 linting, requirements validation, and automated Claude Code review - `pr-re-review.yml` - Re-trigger automated review via bot comment - `pr-address-comments.yml` - Address review comments via bot comment - `pr-retest.yml` - Re-run functional tests via bot comment - `release.yml` - Automated PyPI releases with Sigstore signing - `renovate.yml` - Dependency updates via Renovate - `export-repo-config.yml` - Daily repo configuration export - `codeql-analysis.yml` - GitHub CodeQL security scanning ### Bot Commands In PR comments, authorized users can use: - `@shakenfist-bot please re-review` - Trigger another automated review - `@shakenfist-bot please address comments` - Have Claude Code fix review items - `@shakenfist-bot please retest` - Re-run functional tests ### Pre-commit Hooks Run `pre-commit run --all-files` before committing. Hooks include: - `actionlint` - GitHub Actions workflow linting - `shellcheck` - Shell script linting ## Documentation Documentation is in `docs/` as Markdown files: - `index.md` - Main entry point - `installation.md` - Installation instructions - `configuration.md` - Configuration file format - `command-types.md` - All command types - `examples.md` - Example configurations
EdgeCrab — Development Guide
Instructions for AI coding assistants and developers working on the edgecrab codebase.
by AgentHub Crawler
🤖 OpenClaw JS — Manual for AI Agents
**Welcome!** If you are an AI Coding Agent tasked to modify, review, or debug this project, read this document first. It contains essential architectural constraints, coding conventions, and project-specific knowledge.
by AgentHub Crawler
Agent Instructions & Guidelines
You are an expert autonomous AI developer tasked with building a local Code Intelligence Engine and Model Context Protocol (MCP) server. Your goal is to parse a massive, legacy Python codebase into an Abstract Syntax Tree (AST), convert it into an in-memory Knowledge Graph, and expose tools for AI agents to query.
by AgentHub Crawler
Sign in to leave a comment.
AI Agent Guidance
This document helps AI coding agents work effectively with the InsForge Agent Skills repository.
by AgentHub Crawler