agentleFS
herohuaherohua/skills/AGENTS.md

skills

AGENTS.md1 starsChanged 3 months agoMITView on GitHub

A collection of reusable AI coding agent skills that provide tools for code review, design review, threat modeling, CI/CD management, bug tracking, and repository setup. Skills are designed for Claude Code but can also be used with Copilot, Codex, or other AI coding agents. They are distributed as self-contained directories and installed by copying or symlinking into the agent's skills directory. Current skills: bug-report, code-coverage-policy, coding-agents-setup, repo-agents-setup, review-design, review-pr, self-review, sync-skills, threat-model. Every skill must contain a SKILL.md file at…

  • Installs packages

The file

We split this AGENTS.md into the rules it gives an agent

11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every skill must contain a SKILL.md file at the skill directory root with YAML-style frontmatter defining:

    line 30
  2. Very specific:

    Reference docs: Place API references, format specs, and troubleshooting guides in a references/ subdirectory

    line 52
  3. Distinctive:

    Create a new directory with a kebab-case name at the repository root

    line 73
  4. Very specific:

    Add a SKILL.md with required frontmatter and workflow definition

    line 74
  5. Distinctive:

    Add supporting files (scripts, references) as needed

    line 75
  6. Distinctive:

    Update the root README.md to list the new skill

    line 76
  7. Distinctive:

    Before opening or updating a PR:

    line 90
  8. Distinctive:

    Verify Python scripts: run without errors using only the standard library

    line 93
  9. Very specific:

    Use branch naming convention <skill-name>/<feature> (e.g., threat-model/add-stride-analysis)

    line 103
  10. Distinctive:

    Use descriptive commit messages that explain the change

    line 106
  11. Very specific:

    No CI/CD pipelines or server-side deployment — skills run locally within Claude Code.

    line 120

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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

Project Overview

A collection of reusable AI coding agent skills that provide tools for code review, design review, threat modeling, CI/CD management, bug tracking, and repository setup. Skills are designed for Claude Code but can also be used with Copilot, Codex, or other AI coding agents. They are distributed as self-contained directories and installed by copying or symlinking into the agent's skills directory.

Repository Structure

herohua-skills/
├── README.md                         # Installation & usage guide
├── LICENSE                           # MIT License
├── .gitignore
│
└── <skill-name>/                     # Each top-level directory is a skill
    ├── SKILL.md                      # Required: skill definition & workflow
    ├── README.md                     # Optional: quick-reference summary
    ├── references/                   # Optional: API docs, format specs, troubleshooting
    └── scripts/                      # Optional: supporting scripts (.py, .ps1, .js, ...)

Current skills: bug-report, code-coverage-policy, coding-agents-setup, repo-agents-setup, review-design, review-pr, self-review, sync-skills, threat-model.


Principles & Standards

Skill Structure

Every skill must contain a SKILL.md file at the skill directory root with YAML-style frontmatter defining:

FieldRequiredDescription
nameYesSkill identifier (kebab-case, matches directory name)
descriptionYesWhat the skill does and when to trigger it
allowed-toolsYesWhich Claude Code tools the skill can invoke
user-invocableYesWhether the skill can be called as a slash command

Additional files (Python scripts, reference docs, config templates) are placed alongside SKILL.md in the same directory or in a references/ subdirectory.

Design Guidance

  • Build upon existing skills, MCPs, or tools — before creating new functionality, check if an existing skill, MCP server, or Claude Code tool already provides what you need, and compose on top of it
  • Prefer MCP tools over CLI/curl for Azure DevOps operations — MCP tools have fixed parameter schemas, so permission approval carries over across invocations. Bash commands (az, curl) are freeform strings that require the user to approve each unique command separately. Only fall back to CLI or curl when MCP doesn't cover the needed API.

Coding Conventions

  • Skill directory names: kebab-case (e.g., review-pr, code-coverage-policy)
  • Python files: snake_case (e.g., generate_report.py, tm7_builders.py)
  • Python: Standard library only — no external dependencies requiring pip install
  • Markdown: Consistent heading hierarchy (H1 for title, H2/H3 for sections), code blocks with language identifiers
  • Reference docs: Place API references, format specs, and troubleshooting guides in a references/ subdirectory

Documentation

  • Each skill can include a README.md with a quick-reference summary
  • SKILL.md should contain the full workflow specification: phases, steps, tool usage patterns, and examples
  • Reference files should be self-contained and usable by agents without additional context

Processes & Workflow

Development

Prerequisites:

  • Python 3.x (standard library only)
  • Azure CLI with azure-devops extension (for ADO-related skills)
  • GitHub CLI (gh) (for GitHub-related skills)
  • Bash-compatible shell

Adding a new skill:

  1. Create a new directory with a kebab-case name at the repository root
  2. Add a SKILL.md with required frontmatter and workflow definition
  3. Add supporting files (scripts, references) as needed
  4. Update the root README.md to list the new skill

Local development must use Git worktrees. Multiple agents may work in the same repository concurrently, so always create a worktree before making changes to avoid conflicts:

git worktree add .claude/worktrees/<branch-name> -b <branch-name>

Testing a skill locally:

  • Symlink the skill directory into ~/.claude/skills/ or a project's .claude/skills/
  • Invoke via its slash command in Claude Code to verify behavior

Pre-PR Verification

Before opening or updating a PR:

  • Verify SKILL.md frontmatter is complete (name, description, allowed-tools, user-invocable)
  • Verify Python scripts run without errors using only the standard library
  • Verify Markdown renders correctly (check heading levels, code blocks, tables)
  • Keep AGENTS.md and README.md up to date — when adding or changing skills, update both files to reflect the changes
  • Scrub personal information — ensure no personal data (names, emails, API keys, tokens, internal URLs) is included in committed files
  • Do not silently ignore failures — surface any errors to the developer
  • Do not assume issues are pre-existing — investigate and report them

PR Process

  • Each PR should contain changes for one feature or fix only — do not mix unrelated changes together
  • Use branch naming convention <skill-name>/<feature> (e.g., threat-model/add-stride-analysis)
  • PRs require at least one approval before merging
  • Target the main branch for all changes
  • Use descriptive commit messages that explain the change

Deployment

Skills are deployed by end users via copy or symlink:

# Personal installation (available in all projects)
ln -s /path/to/herohua-skills/review-pr ~/.claude/skills/review-pr

# Project-specific installation
ln -s /path/to/herohua-skills/review-pr .claude/skills/review-pr

No CI/CD pipelines or server-side deployment — skills run locally within Claude Code.

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.