agentleFS
geemusgeemus/hax-yax/AGENTS.md

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

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
  1. Very specific:

    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.

    line 66
  2. Very specific:

    Commit messages: Conventional Commits format — <type>[optional scope]: <description> — where description is lowercase imperative mood with …

    line 67
  3. Distinctive:

    Do not force-push to main

    line 75
  4. Distinctive:

    When running inside a git worktree (secondary working tree), scope all file operations to the current worktree root.

    line 79
  5. Distinctive:

    Prefer explicit over implicit.

    line 91
  6. Common:

    Never commit secrets, tokens, or credentials

    line 96
  7. Distinctive:

    Do not add skills that perform destructive operations without explicit confirmation steps

    line 98
  8. Distinctive:

    Only use skills from trusted sources — treat them like installed software

    line 99

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 resources

Skills 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

SkillTriggerPurpose
audit-skills/audit-skillsProduce 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/commitStage changes safely, generate a conventional-commit message, and block secrets from being committed
format-review-commentsapply automatically when writing any review comment, PR feedback, or critique of codeFormat review and feedback comments using the Conventional Comments standard
implement-plan/implement-planFetch 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-prosePolish drafted prose for clarity, conciseness, and consistent voice before presenting or posting
review-agents-md/review-agents-mdAudit AGENTS.md and equivalent agent instruction files for completeness, accuracy, agent-friendliness, freshness, scope coherence, and leanness
review-plan/review-planEvaluate 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-prConduct a systematic PR review across logic, security, performance, test coverage, and documentation
review-skill/review-skillEvaluate a skill for effectiveness across instruction clarity, trigger discoverability, example completeness, composability, and scope coherence
upsert-agents-md/upsert-agents-mdCreate or update AGENTS.md and equivalent agent instruction files by surveying the repository
upsert-plan/upsert-planCreate and update structured work plans as GitHub issues
upsert-skill/upsert-skillManage 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> or claude/<task-slug>
  • 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. Branch, commit, push the branch, then gh 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 standard
      • feat(upsert-skill): add loop skill
      • fix(upsert-plan): correct frontmatter validation logic
      • chore: update AGENTS.md structure
  • 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 $PWD does 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.