docs-skills
AGENTS.md4 starsChanged 4 months agoApache-2.0View on GitHub
A Claude Code plugin providing documentation review, writing, and workflow tools. This file defines the shared project conventions for all AI coding agents. For Claude Code-specific instructions, see CLAUDE.md. The runtime working directory is the project root, not the skill directory. Bare relative paths like scripts/foo.py will fail. Always use a substitution variable: Use paths relative to the repository root (workspace): Skills (invoked via the Skill tool) use bare names: docs-workflow-requirements, jira-reader, learn-code. Qualified names (docs-skills:docs-workflow-requirements) also work. Use bare…
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository53 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- action-commentsSkill
- article-extractorSkill
- docs-convert-gdoc-mdSkill
- docs-orchestratorSkill
- docs-review-content-qualitySkill
- docs-review-modular-docsSkill
- docs-review-securitySkill
- docs-review-styleSkill
- docs-review-technicalSkill
- docs-ticket-readinessSkill
- docs-workflow-code-analysisSkill
- docs-workflow-create-jiraSkill
- docs-workflow-create-merge-requestSkill
- docs-workflow-jira-readySkill
- docs-workflow-pipeline-diagnosticsSkill
- docs-workflow-planningSkill
- docs-workflow-pr-analysisSkill
- docs-workflow-quality-gateSkill
- docs-workflow-requirementsSkill
- docs-workflow-scope-req-auditSkill
- docs-workflow-security-reviewSkill
- docs-workflow-startSkill
- docs-workflow-style-reviewSkill
- docs-workflow-tech-reviewSkill
- docs-workflow-writingSkill
- git-pr-readerSkill
- ibm-sg-audience-and-mediumSkill
- ibm-sg-language-and-grammarSkill
- ibm-sg-legal-informationSkill
- ibm-sg-numbers-and-measurementSkill
- ibm-sg-punctuationSkill
- ibm-sg-referencesSkill
- ibm-sg-structure-and-formatSkill
- ibm-sg-technical-elementsSkill
- jira-readerSkill
- jira-writerSkill
- learn-codeSkill
- lint-with-valeSkill
- mdita-writeSkill
- query-codeSkill
- redhat-docs-tocSkill
- rh-ssg-accessibilitySkill
- rh-ssg-formattingSkill
- rh-ssg-grammar-and-languageSkill
- rh-ssg-gui-and-linksSkill
- rh-ssg-legal-and-supportSkill
- rh-ssg-release-notesSkill
- rh-ssg-structureSkill
- rh-ssg-technical-examplesSkill
- rn-known-issuesSkill
- understand-pull-requestSkill
- validate-plugin-prereqsSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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
- could be automatic: a setting could enforce it
- Distinctive: line 38
Use paths relative to the repository root (workspace):
- Distinctive: line 52
Use kebab-case for skill and agent names
- Very specific: line 56
Run make lint before committing (skillsaw + ruff + shellcheck)
- Very specific: line 58
Use feat:, fix:, docs:, chore: commit prefixes
- Very specific: line 59
When referencing Python in install steps, always use python3
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.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
docs-skills
A Claude Code plugin providing documentation review, writing, and workflow tools. This file defines the shared project conventions for all AI coding agents. For Claude Code-specific instructions, see CLAUDE.md.
Repository structure
.claude-plugin/plugin.json Plugin packaging metadata (name, version, description)
skills/<skill>/SKILL.md Skill definitions with frontmatter
agents/<agent>.md Subagent definitions with frontmatter
reference/ Shared domain knowledge (frameworks, templates, guides)
hooks/hooks.json Plugin-level Claude Code event hooks
eval/ Evaluation test cases and harness configCalling scripts from skills
The runtime working directory is the project root, not the skill directory. Bare relative paths like scripts/foo.py will fail. Always use a substitution variable:
Claude Code
${CLAUDE_SKILL_DIR}— the directory containing the skill'sSKILL.md. Use for scripts bundled with the same skill.${CLAUDE_PLUGIN_ROOT}— the plugin's installation directory (repo root). Use for cross-skill calls.
# Same-skill call (stdlib-only script)
python3 ${CLAUDE_SKILL_DIR}/scripts/detect_language.py --repo /path/to/repo
# Same-skill call (PEP 723 script with external deps)
uv run --script ${CLAUDE_SKILL_DIR}/scripts/jira_reader.py --issue PROJ-123
# Cross-skill call
python3 ${CLAUDE_PLUGIN_ROOT}/skills/learn-code/scripts/detect_language.py --repo /pathCursor
Use paths relative to the repository root (workspace):
python3 skills/learn-code/scripts/detect_language.py --repo /path/to/repoSkill and agent naming
Skills (invoked via the Skill tool) use bare names: docs-workflow-requirements, jira-reader, learn-code. Qualified names (docs-skills:docs-workflow-requirements) also work. Use bare names in workflow YAML step lists and skill-to-skill invocations.
Agents (invoked via the Agent tool's subagent_type) require fully-qualified names with the plugin prefix: docs-skills:technical-reviewer, docs-skills:docs-writer. Bare names like technical-reviewer will fail with "Agent type not found".
Contributing rules
- Use kebab-case for skill and agent names
- Bump version in
.claude-plugin/plugin.jsonwhen making changes - New Python scripts with external dependencies must use PEP 723 inline metadata
- New stdlib-only scripts use plain
python3invocation - Run
make lintbefore committing (skillsaw + ruff + shellcheck) - Install test dependencies with
pip install -r requirements.txtbefore runningmake test - Use
feat:,fix:,docs:,chore:commit prefixes - When referencing Python in install steps, always use
python3
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.

