agentleFS
helderbertohelderberto/agent-skills/AGENTS.md

agent-skills

AGENTS.md19 starsChanged 32 days agoMITView on GitHub

Guidance for AI coding agents (Claude Code, Cursor, Gemini CLI, OpenCode, Copilot, etc.) when working with this repository. helderberto/agent-skills is a personal SDLC toolbelt for AI coding agents. Skills are packaged Markdown instructions that extend agent capabilities across the full lifecycle — from spec to ship. Different agents discover skills through different mechanisms. This repo supports all of them through one source of truth — the skills/ directory. See docs/ for per-agent setup instructions. OpenCode uses a skill-driven execution model…

The file

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

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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
  1. Distinctive:

    If a task matches a skill, you MUST invoke it

    line 43
  2. Distinctive:

    Never implement directly when a skill applies

    line 45
  3. Distinctive:

    Always follow the skill instructions exactly — do not partially apply them

    line 46
  4. Distinctive:

    When the user has a non-trivial task, suggest the flow commands in order.

    line 102
  5. Very specific:

    Every skill lives in skills/<name>/SKILL.md (or <name>/SKILL.md if flat at root — see structure section)

    line 115
  6. Very specific:

    No Claude Code hooks: they would block the user's own sessions.

    line 120

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

Guidance for AI coding agents (Claude Code, Cursor, Gemini CLI, OpenCode, Copilot, etc.) when working with this repository.

Repository Overview

helderberto/agent-skills is a personal SDLC toolbelt for AI coding agents. Skills are packaged Markdown instructions that extend agent capabilities across the full lifecycle — from spec to ship.

Project Structure

skills/         → Core skills (one folder per skill, each with SKILL.md)
agents/         → Subagent definitions the skills fan out to (Claude Code only)
docs/           → Setup guides per agent (Cursor, Antigravity CLI, Gemini CLI, OpenCode, GitHub Copilot, Codex)
.claude-plugin/ → Plugin manifest + marketplace entry (Claude Code)
plugin.json     → Plugin manifest (Antigravity CLI)
.agents/plugins/ → Marketplace entry (Codex)
.plugin/        → Copy of .claude-plugin/plugin.json (Copilot CLI reads it first)

Integration Model

Different agents discover skills through different mechanisms. This repo supports all of them through one source of truth — the skills/ directory.

AgentDiscovery mechanism
Claude CodePlugin marketplace (/plugin install hb@helderberto-skills)
Gemini CLIgemini skills install from this repo
OpenCodeAuto-routes via this AGENTS.md + the skill tool
CursorSync skills/ into .cursor/skills/ (native skills)
Antigravity CLINative plugin via root plugin.json (agy plugin install)
GitHub CopilotNative plugin from .claude-plugin/marketplace.json (copilot plugin install hb@helderberto-skills)
CodexNative plugin via .agents/plugins/marketplace.json (codex plugin add hb@helderberto-skills)

See docs/ for per-agent setup instructions.

OpenCode Integration

OpenCode uses a skill-driven execution model — the agent reads this file plus the skills/ directory and auto-routes user intent to the right skill.

Core Rules

  • If a task matches a skill, you MUST invoke it
  • Skills live at skills/<skill-name>/SKILL.md
  • Never implement directly when a skill applies
  • Always follow the skill instructions exactly — do not partially apply them
  • Typed-only skills (disable-model-invocation: true) are rows that say suggest: name the command for the user to type, don't run it

Intent → Skill Mapping

User intentSkill to invoke
Configure the repo's issue trackersuggest /hb:setup
New feature with unclear requirementssuggest /hb:triage → /hb:grill → /hb:to-spec
Slice a spec or ticket into ticketssuggest /hb:to-tickets
Implement the next ticketsuggest /hb:build
Test-first developmenttdd
Implement using official docssource-driven
Research a question against sourcesresearch
Bug, error, unexpected behaviordebug
Backfill tests / split functions / simplifyrefactor
Design or improve a module's interfacecodebase-design
Architectural friction in codebasesuggest /hb:architecture-audit
Prototype a design (logic demo or UI)prototype
Explain code or codebase areazoom-out
Build or refactor a UI component/pagefrontend-ui-engineering
Code at a trust boundary (auth, input, external API)harden
Full pre-ship review (parallel reviewers)suggest /hb:review
Validate a UI change in a real browservisual-review --ui
Learn a concept over multiple sessionssuggest /hb:teach
Review a PR or branch (quality + spec)suggest /hb:code-review
Visual/HTML PR review (annotated diff)visual-review
Triage existing PR review comments (what to fix)feedback
Check accessibilitya11y-audit
Check i18n coveragei18n
Audit bundle size / performanceperf-audit
Audit dependencies for CVEsdeps-audit
Check for sensitive data in reposafe-repo
Run linter / formattercheck
Validate code (lint + types + tests)check
Write end-to-end teststdd
Commit changes (atomic, grouped by concern)commit
Push and create a pull requestsuggest /hb:to-pr
Split a large PR into small stacked PRssuggest /hb:to-stack
Release a library (version, changelog, tag, GH release)suggest /hb:to-release
Record an architectural decisionto-adr
Pin down domain terminology / glossarydomain-modeling
Stress-test a plan or designsuggest /hb:grill
Is a risky change or PR worth it?suggest /hb:debate
Fix prose / typos in markdownrevise
Restructure an article draftrevise
Write a doc, one-pager or ADR (Confluence, GitHub issue, Markdown)suggest /hb:to-doc
Hand off mid-session work to a fresh agentsuggest /hb:handoff
Retrospective on a session (improve the agent's environment)suggest /hb:retro
Last message didn't land — re-explain plainlysuggest /hb:wait-what
Author a new skillcreate-skill
Classify a task, or where am I?suggest /hb:triage
Which skill fits my situation?suggest /hb:guide

Lifecycle Mapping (Implicit Flow)

When the user has a non-trivial task, suggest the flow commands in order. They are typed-only, so the user runs each one:

  • TRIAGE → triage classifies the input, sizes it, and names the entry command; with no args it reports the current phase
  • GRILL → grill interviews; settled terms go to the glossary via domain-modeling, decisions to to-adr
  • SPEC → to-spec writes the spec from the conversation, no interview
  • TICKETS → to-tickets slices the spec into tracer-bullet tickets, with architecture-audit or codebase-design as needed
  • BUILD → build (one ticket per invocation, or --all), driven by tdd, source-driven, and check
  • REVIEW → review (audits as parallel reviewers plus agent lenses: spec conformance with ticket checkboxes, standards, test effectiveness with changed-line coverage, floor-guard), covering a11y-audit, i18n, perf-audit, deps-audit, safe-repo, harden; feedback sorts existing reviewer comments
  • SHIP → to-pr (gate, push, PR, CI watch); --safe adds a safe-repo scan before the push. Libraries then run to-release: draft release on the PR, tag and publish after the merge
  • RETRO → retro, in the same session before /clear

Conventions

  • Every skill lives in skills/<name>/SKILL.md (or <name>/SKILL.md if flat at root — see structure section)
  • YAML frontmatter requires name and description
  • Agents in agents/ are named *-auditor: read-only reviewers that preload, through skills: frontmatter, the skill holding their checklist when one exists
  • Description starts with what the skill does. Model-visible skills follow with trigger conditions ("Use when..."); typed-only skills stop at one sentence
  • Optional effort frontmatter (low/medium/high/xhigh/max) overrides reasoning effort for the turn the skill fires — set it only when the task deviates from the medium default
  • No Claude Code hooks: they would block the user's own sessions. Safety checks run when the user asks (/hb:safe-repo, /hb:to-pr --safe)
  • Supporting files split into subfolders: references/ (long-form docs loaded on demand), scripts/ (deterministic helpers), assets/ (templates/icons used in output). Split when SKILL.md exceeds ~150 lines
  • .plugin/plugin.json is a byte copy of .claude-plugin/plugin.json: Copilot CLI checks it before the root plugin.json. The root plugin.json (Antigravity) allows only name and description, which must match. CI checks both
  • Bump .claude-plugin/plugin.json version (semver) once per PR that changes a skill users see, so plugin consumers can track updates; then copy the file to .plugin/plugin.json. CI fails a PR that touches skills/ without the bump
  • Release: /hb:to-release <PR> before the merge drafts the release; rerun it after the merge to tag vX.Y.Z on the merge commit and publish
  • bash scripts/check.sh runs every CI check locally; bash scripts/audits.sh lists each skill's skills.sh audit status
  • Untrusted text and verifying a skill's commands: docs/skill-conventions.md

Boundaries

This is a documentation-only project. It contains no application code, no runtime dependencies, no build step. Skills are pure Markdown.

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.