Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
A comprehensive collection of Agent Skills for context engineering, multi-agent architectures, and production agent systems.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
CONTRIBUTING.md
1# Contributing to Agent Skills for Context Engineering23Thank you for your interest in contributing to this collection of Agent Skills for Context Engineering. This document provides guidelines and instructions for contributing.45## How to Contribute67### Reporting Issues89If you find errors, unclear explanations, or missing topics, please open an issue with:10- A clear description of the problem11- The skill and section where the issue was found12- Suggested improvements if you have them1314### Submitting Changes1516For substantive changes, please:17181. Fork the repository192. Create a feature branch for your changes203. Make changes following the skill template structure214. Ensure SKILL.md files remain under 500 lines225. Add references or scripts as appropriate236. Submit a pull request with a clear description of changes2425### Adding New Skills2627When adding new skills:28291. Use the template in `template/SKILL.md`302. Follow naming conventions (lowercase with hyphens)313. Include both SKILL.md and appropriate references/scripts324. Update the root README.md to include the new skill335. Update root `SKILL.md`, `.claude-plugin/marketplace.json`, and `.plugin/plugin.json` when publishing the skill346. Update `researcher/corpus/index.json` with the new skill's name, activation scenarios, mechanism IDs, and claim IDs357. Add at least one entry to `researcher/fixtures/activation-cases.jsonl`; include rejected or adjacent skills when the boundary is easy to confuse368. Ensure content is platform-agnostic (works across Cursor, Claude Code, etc.)379. Run `python3 researcher/scripts/validate_repo.py --strict`, `python3 researcher/scripts/skill_health.py --strict --no-history`, `python3 researcher/scripts/check_activation_cases.py`, and `python3 researcher/scripts/run_benchmarks.py` before opening a PR3839## Researcher Operating System Contributions4041The repository ships with a file-based research-to-skill operating system in `researcher/`. Contributions that introduce skill changes derived from external research should flow through it.4243### Run lifecycle4445```46initialized -> retrieved -> evaluated -> proposed -> novelty_checked -> validated -> pr_ready -> closed47```4849Use `researcher/scripts/research_loop.py` subcommands rather than editing `run-state.json` by hand. Each transition appends to the run's thread log and updates the state machine atomically.5051### Mechanism promotion5253New behavior changes proposed for the corpus go through `researcher/mechanisms/registry.jsonl`. The promotion path is gated:54551. Author the proposal in the run's `proposals/mechanism-proposal.jsonl`.562. Pass `validate_run.py --run-dir <run>`.573. Run `research_loop.py promote-mechanisms --run-dir <run> --reviewed-by <handle>`. This appends to the registry and to `researcher/mechanisms/ledgers/accepted.jsonl`.5859Rejected mechanisms append to `ledgers/rejected.jsonl` so future agents do not rediscover them.6061### Claim provenance6263Any numeric, benchmark, or volatile claim added to a published skill should also receive an entry in `researcher/claims/index.jsonl` with `claim_id`, `owning_skill`, `section`, `source_url`, `retrieved_at`, `evidence_strength`, `volatility`, and `last_reviewed`. The validator checks ownership and source paths.6465### Parked runs6667Runs that hit human-review gates land in `researcher/queue/parked.jsonl` and the dashboard at `researcher/reports/parked-review.md`. Reviewers should:68691. Read `researcher/runs/<run-id>/THREAD.md` and `sources/evidence/`.702. Complete the next required step (retrieve, evaluate, propose, novelty, validate-run, or pr-ready).713. Close the run with `research_loop.py close --status accepted|rejected|reference-only|abandoned --reason <text> --reviewed-by <handle>`.7273The continuous loop will reap closed runs into `researcher/queue/done.jsonl` on the next iteration.7475### Runtime state is not committed7677`researcher/runs/*/` (except the seed run), `researcher/queue/*.jsonl`, and `researcher/reports/{logs,snapshots,loop-events.jsonl,loop-failures.jsonl,status.md,parked-review.md}` are gitignored. PRs should not introduce new committed runs; bug fixtures belong in `researcher/fixtures/` instead.7879## Skill Structure Requirements8081Each skill must include:8283- YAML frontmatter with `name` and `description` fields84- `## When to Activate` with positive triggers and an explicit `Do not activate` boundary for adjacent skills85- `## Core Concepts` focused on behavior-changing mechanisms, not generic background86- `## Practical Guidance` with an executable workflow, checklist, decision table, or operating rule87- `## Examples` with at least one worked artifact, before/after, or boundary example88- `## Guidelines`, `## Gotchas`, `## Integration`, and `## References`89- Integration notes that explain routing and composition boundaries, not only topical relationships9091Any numeric, benchmark, volatile, or vendor-performance claim in a published skill must either reference a `claim-*` ID from `researcher/claims/index.jsonl` or be softened and moved to dated reference material. Any reusable behavior pattern should be represented in `researcher/mechanisms/registry.jsonl` and linked from `researcher/corpus/index.json`.9293Optional additions:9495- `references/` directory with additional documentation96- `scripts/` directory with executable examples97- Multiple markdown files for complex skills9899## Content Guidelines100101### Writing Style102103- Be direct and precise104- Use technical terminology appropriately105- Include specific guidance, not vague recommendations106- Provide concrete examples107- Point out complexity and trade-offs108109### Avoiding Platform Specificity110111Skills should work across agent platforms. Avoid:112- Platform-specific tool names without abstraction113- Vendor-locked examples114- Features specific to one agent product115116### Keeping Skills Focused117118Each skill should have a single focus. If a topic grows too large, consider splitting into multiple skills with clear dependencies.119120## Code of Conduct121122This project follows a professional, technical collaboration model. Be respectful of different perspectives and focus on improving the collective knowledge base.123124## Questions125126For questions about contributing, please open an issue for discussion.127128