agent-skills
CLAUDE.md13 starsChanged 5 months agoApache-2.0View on GitHub
Refer to CONTRIBUTING.md for development guidelines. This repository implements the Agent Skills specification. All skills follow the standard structure with YAML frontmatter in SKILL.md, scripts in scripts/, and additional docs in references/. We use Python scripts because the specification supports multiple languages, and Python is better suited for complex API integrations. See docs/developer-guide.md for rationale. Skills should include an Error Handling section in their SKILL.md that tells agents which errors are retryable and which require user intervention: Pre-commit hooks are…
In this repository7 other files it gives its agents.
- skills/CLAUDE.mdCLAUDE.md
- confluenceSkill
- gerritSkill
- githubSkill
- gitlabSkill
- googleSkill
- jiraSkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Rate limiting (429) and server errors (5xx) are retryable: after a brief wait.
- Very specific: line 49
Run scripts/pre_commit_checks.sh (or --skills if only skills changed).
- Distinctive: line 52
After the subagent completes, stage everything and commit.
- Distinctive: line 57
Follow Semantic Versioning when updating it:
- Very specific: line 76
When completing items from TODO.md, remove the finished entries entirely rather than marking them [x].
- Very specific: line 91
Use /jira to invoke the Jira skill, or describe what you want naturally:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude Code Instructions
Refer to CONTRIBUTING.md for development guidelines.
Repository Layout
skills/— Self-contained agent skills (jira, confluence, google, etc.)scripts/— Development utilities (validation, versioning, pre-commit)templates/— Starter templates for new skills (api, cli, workflow)tests/— Pytest suite (one file per skill, 80% coverage required)docs/— User guide, developer guide, OAuth setup.github/workflows/— CI (lint/test/validate) and release pipelines
Standards Compliance
This repository implements the Agent Skills specification. All skills follow the standard structure with YAML frontmatter in SKILL.md, scripts in scripts/, and additional docs in references/.
We use Python scripts because the specification supports multiple languages, and Python is better suited for complex API integrations. See docs/developer-guide.md for rationale.
Development Principles
- Keep documentation DRY — reference comprehensive guides rather than duplicating content. Link to the specification rather than restating it.
- Use lowercase for markdown files unless they're a de facto standard (README.md, CONTRIBUTING.md) or required by the Agent Skills specification (SKILL.md).
- Follow the Agent Skills specification — all implementation decisions should reference the specification.
- Prefer official CLIs over custom scripts — when an official CLI exists, use it instead of a custom API wrapper. Skills can be documentation-only when the CLI covers all use cases (e.g.
ghfor GitHub,glabfor GitLab,gogfor Google). - Default to markdown output format — all skill scripts must output markdown by default. Use
### {title}for item headings,- **Label:** valuefor metadata,## {Section}for top-level grouping. Preserve--jsonas an alternative. Referenceskills/jira/scripts/jira.pyas the canonical example.
Error Handling in Skills
Skills should include an Error Handling section in their SKILL.md that tells agents which errors are retryable and which require user intervention:
- Authentication/permission errors are never retryable — they require user action.
- Rate limiting (429) and server errors (5xx) are retryable after a brief wait.
- All other errors should be reported to the user rather than retried.
- Skills that use OAuth should document the
auth reset→checkworkflow for recovering from scope/token errors.
Before Committing
Pre-commit hooks are a failsafe, not a first pass. Always run checks before committing to avoid wasting tokens on hook failures and re-commits.
Delegate pre-commit checks to a haiku subagent (via the Task tool with
model: "haiku") to minimise token cost. The subagent should:
- Run
scripts/pre_commit_checks.sh(or--skillsif only skills changed). - Fix any issues found and report back.
After the subagent completes, stage everything and commit.
Skill Versioning
Each skill has a metadata.version field in its SKILL.md frontmatter.
Follow Semantic Versioning when updating it:
- Patch (0.1.0 → 0.1.1): Bug fixes, typo corrections, minor doc tweaks that don't change behaviour.
- Minor (0.1.1 → 0.2.0): New commands, new options, expanded functionality — anything additive and backward-compatible.
- Major (0.2.0 → 1.0.0): Breaking changes — removed or renamed commands, changed default behaviour, restructured arguments.
A Claude Code hook enforces this — commits with unbumped skill changes are
blocked automatically. Run scripts/check_versions.sh to check manually.
Releasing
See docs/developer-guide.md for the full release procedure.
TODO.md
When completing items from TODO.md, remove the finished entries entirely
rather than marking them [x]. If an entire section becomes empty, remove the
section heading too. Only pending work belongs in TODO.md.
Maintenance
Review this file quarterly and after major Claude model releases. Remove rules that compensate for limitations the model or tooling no longer has — stale instructions can actively constrain newer models.
Subdirectory CLAUDE.md files (e.g. skills/CLAUDE.md) follow the same
refresh cadence — include them in quarterly reviews.
Skill Invocation
Use /jira to invoke the Jira skill, or describe what you want naturally:
- "Search Jira for my open issues"
- "Create a bug in PROJECT about login failures"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

