hax-yax
AGENTS.md4 starsChanged 6 months agoMITView on GitHub
This repository stores reusable skills for Claude Code and other AI coding agents. Agent guidance follows the AGENTS.md standard; skill format follows the Agent Skills standard. This repository stores reusable, composable skills for Claude Code and other AI coding agents. Skills follow the agentskills.io open standard and ship via a native Claude Code plugin. The primary use cases are discovering available skills, creating new ones, updating existing ones, and composing skills into workflows. Skills live under .agents/skills/ so that agents…
- Commits and pushes
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,439 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 repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit-skillsSkill
- create-commitSkill
- format-review-commentsSkill
- implement-planSkill
- refine-proseSkill
- review-agents-mdSkill
- review-planSkill
- review-prSkill
- review-skillSkill
- upsert-agents-mdSkill
- upsert-planSkill
- upsert-skillSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 1 is common, 5 are distinctive, and 2 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
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
- Very specific: line 66
PR workflow: When a PR is the goal, always create a feature branch first — never commit directly to main and open a PR from there.
- Very specific: line 67
Commit messages: Conventional Commits format — <type>[optional scope]: <description> — where description is lowercase imperative mood with …
- Distinctive: line 75
Do not force-push to main
- Distinctive: line 79
When running inside a git worktree (secondary working tree), scope all file operations to the current worktree root.
- Distinctive: line 91
Prefer explicit over implicit.
- Common: line 96
Never commit secrets, tokens, or credentials
- Distinctive: line 98
Do not add skills that perform destructive operations without explicit confirmation steps
- Distinctive: line 99
Only use skills from trusted sources — treat them like installed software
≈ “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
AGENTS.md
This repository stores reusable skills for Claude Code and other AI coding agents. Agent guidance follows the AGENTS.md standard; skill format follows the Agent Skills standard.
Repository Purpose
This repository stores reusable, composable skills for Claude Code and other AI coding agents. Skills follow the agentskills.io open standard and ship via a native Claude Code plugin. The primary use cases are discovering available skills, creating new ones, updating existing ones, and composing skills into workflows.
Structure
├── AGENTS.md # This file — agent guidance (agents.md standard)
├── CHANGELOG.md # Version history
├── LICENSE
├── README.md # Installation and usage reference
├── .claude/
│ └── skills -> ../.agents/skills # Symlink for standalone Claude Code use
├── .claude-plugin/
│ └── plugin.json # Claude Code plugin manifest
└── .agents/
└── skills/
└── <skill-name>/ # Each skill is a directory
├── SKILL.md # Required: YAML frontmatter + instructions
├── scripts/ # Optional: executable scripts (Python, Bash, JS)
├── references/ # Optional: reference materials, API docs, schemas
└── assets/ # Optional: templates, examples, other resourcesSkills live under .agents/skills/ so that agents running within this repository discover them automatically via standard agent runtime conventions.
Plugin Installation
Skills are available under the hax-yax namespace (e.g., /hax-yax:upsert-plan) when installed via the Claude Code plugin, or directly (e.g., /upsert-plan) when running within this repository.
Skills Format
Each skill is a directory named after the skill containing a SKILL.md file with YAML frontmatter and Markdown instructions.
For full format rules, naming constraints, progressive disclosure levels, and a worked example, read .agents/skills/upsert-skill/references/skill-format.md. To create, update, or delete skills using guided steps, use the upsert-skill skill (/upsert-skill).
Available Skills
| Skill | Trigger | Purpose |
audit-skills | /audit-skills | Produce a full health report on the skill library: structural validation per skill and cross-skill analysis covering trigger conflicts, redundancy, workflow gaps, and composition chains |
create-commit | /commit | Stage changes safely, generate a conventional-commit message, and block secrets from being committed |
format-review-comments | apply automatically when writing any review comment, PR feedback, or critique of code | Format review and feedback comments using the Conventional Comments standard |
implement-plan | /implement-plan | Fetch a structured plan from a GitHub issue and orchestrate the full delivery workflow: step through unchecked tasks in dependency order, commit via create-commit, review via review-pr, validate once with lint and tests on the final state, and open a PR linked to the plan issue |
refine-prose | /refine-prose | Polish drafted prose for clarity, conciseness, and consistent voice before presenting or posting |
review-agents-md | /review-agents-md | Audit AGENTS.md and equivalent agent instruction files for completeness, accuracy, agent-friendliness, freshness, scope coherence, and leanness |
review-plan | /review-plan | Evaluate a structured work plan across six quality dimensions: objective clarity, task actionability, dependency correctness, acceptance criteria completeness, scope appropriateness, and structural completeness |
review-pr | /review-pr | Conduct a systematic PR review across logic, security, performance, test coverage, and documentation |
review-skill | /review-skill | Evaluate a skill for effectiveness across instruction clarity, trigger discoverability, example completeness, composability, and scope coherence |
upsert-agents-md | /upsert-agents-md | Create or update AGENTS.md and equivalent agent instruction files by surveying the repository |
upsert-plan | /upsert-plan | Create and update structured work plans as GitHub issues |
upsert-skill | /upsert-skill | Manage the lifecycle of reusable agent skills stored under .agents/skills/ |
Adding or Managing Skills
To create, update, or delete skills with guided steps and correct conventions, use the upsert-skill skill (/upsert-skill). To learn the skill format first, read .agents/skills/upsert-skill/references/skill-format.md.
Git Workflow
- Default branch:
main - Feature branches:
<author>/<short-description>orclaude/<task-slug> - PR workflow: When a PR is the goal, always create a feature branch first — never commit directly to
mainand open a PR from there. Branch, commit, push the branch, thengh pr create. - Commit messages: Conventional Commits format —
<type>[optional scope]: <description>— where description is lowercase imperative mood with no trailing period- Valid types:
feat,fix,docs,refactor,test,chore - Scope (optional): the skill name or component affected, e.g.
feat(plan):,fix(skills): - Examples:
docs: adopt conventional commits standardfeat(upsert-skill): add loop skillfix(upsert-plan): correct frontmatter validation logicchore: update AGENTS.md structure
- Valid types:
- Do not force-push to
main
Worktree Awareness
When running inside a git worktree (secondary working tree), scope all file operations to the current worktree root.
- Resolve the root with
git rev-parse --show-toplevel; never navigate above it - "Repo root" in any skill instruction means the current worktree root, not the main working tree
- Detect secondary worktrees with
git worktree list; if$PWDdoes not match the first entry's path, you are in a secondary worktree and must stay within it - Changes committed in a secondary worktree are isolated to that worktree's branch — do not stage or commit files from outside it
Code Style & Conventions
- Markdown: ATX headings (
#), fenced code blocks with language tags - Frontmatter: YAML, delimited by
--- - One skill per directory; do not bundle unrelated tasks
- Prefer explicit over implicit; agents should not need to infer intent
- Scripts should be self-contained or clearly document their dependencies
Security
- Never commit secrets, tokens, or credentials
- Skills that touch external services must document required environment variables in their
SKILL.md - Do not add skills that perform destructive operations without explicit confirmation steps
- Only use skills from trusted sources — treat them like installed software
Environment
The following CLI tools are required for full functionality:
gh— GitHub CLI, used for PR creation (gh pr create) in the Git Workflow
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.

