agentleFS
dzikrisyairozidzikrisyairozi/agent-skills/AGENTS.md

agent-skills

AGENTS.md0 starsChanged 2 months agoMITView on GitHub

This file provides guidance to AI coding agents (Claude Code, Cursor, Copilot, Antigravity, OpenCode, etc.) when working on this repository itself. Scope: This file configures agents working on the dzikrisyairozi/claude-multi-agent-dev repository (this skill pack). It is not meant to be copied into other projects; the reusable assets are the skills in skills/, and downstream projects get their own project-specific rules file (CLAUDE.md, .cursorrules, etc.) via context-engineering. A personal, harness-agnostic collection of engineering-lifecycle skills, forked from addyosmani/agent-skills and customized — see…

  • 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 repository2 other files it gives its agents.

The file

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

3 rules. About 0 are common, 2 are distinctive, and 1 is 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.

  • 1

    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, invoke it — never implement directly if a skill applies.

    line 17
  2. Distinctive:

    Follow the skill instructions exactly (do not partially apply them).

    line 19
  3. Very specific:

    Always: follow docs/skill-anatomy.md for new/changed skills.

    line 65

≈ “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 file provides guidance to AI coding agents (Claude Code, Cursor, Copilot, Antigravity, OpenCode, etc.) when working on this repository itself.

Scope: This file configures agents working on the dzikrisyairozi/claude-multi-agent-dev repository (this skill pack). It is not meant to be copied into other projects; the reusable assets are the skills in skills/, and downstream projects get their own project-specific rules file (CLAUDE.md, .cursorrules, etc.) via context-engineering.

Repository Overview

A personal, harness-agnostic collection of engineering-lifecycle skills, forked from addyosmani/agent-skills and customized — see spec/agent-skills-overhaul/spec.md and docs/cutover.md for what changed and why.

OpenCode Integration

OpenCode uses a skill-driven execution model powered by the skill tool and this repository's skills/ directory (no slash commands there).

Core Rules

  • If a task matches a skill, invoke it — never implement directly if a skill applies.
  • Skills are located in skills/<skill-name>/SKILL.md.
  • Follow the skill instructions exactly (do not partially apply them).

Lifecycle Mapping (Implicit Commands)

  • DEFINE → spec-driven-development
  • PLAN → planning-and-task-breakdown
  • BUILD → incremental-implementation + test-driven-development
  • VERIFY → debugging-and-error-recovery
  • REVIEW → code-review-and-quality
  • SHIP → shipping-and-launch

For every request: determine if a skill applies (even a small chance), invoke it via the skill tool, follow the workflow strictly, and only implement after required gated steps (spec, plan) are complete. "This is too small for a skill" and "I'll just quickly implement this" are rationalizations to ignore, not reasons to skip a skill that applies.

Orchestration: Personas, Skills, and Commands

Three composable layers, not to be confused:

  • Skills (skills/<name>/SKILL.md) — workflows with steps and exit criteria. The how.
  • Personas (agents/<role>.md) — roles with a perspective and an output format. The who.
  • Slash commands (.claude/commands/*.md, commands/*.toml, .gemini/commands/*.toml) — user-facing entry points. The when.

The user (or a slash command) is the orchestrator. Personas do not invoke other personas. A persona may invoke skills. The only endorsed multi-persona pattern is parallel fan-out with a merge step — /ship runs code-reviewer, security-auditor, and test-engineer concurrently, then synthesizes. Do not build a "router" persona.

See docs/agents.md for the decision matrix and references/orchestration-patterns.md for the pattern catalog.

Claude Code interop: personas in agents/ work as Claude Code subagents (auto-discovered from this plugin's agents/ directory). Subagents cannot spawn other subagents.

Adding or Changing a Skill

Skills are markdown-first: skills/<kebab-case-name>/SKILL.md with YAML frontmatter (name, description) and the standard section anatomy (Overview, When to Use, Process, Common Rationalizations, Red Flags, Verification). Add a scripts/ or references/ directory only when the skill actually needs runnable helpers or skill-specific docs.

For the full format, naming conventions, and writing principles: docs/skill-anatomy.md. Don't restate that guidance here.

Every skill change must land on all three command surfaces if it touches a command (.claude/commands/*.md, commands/*.toml, .gemini/commands/*.toml) — regenerate the TOML surfaces from the .md source rather than hand-editing them separately (see the generator used in the original overhaul, tasks/agent-skills-overhaul/plan.md Phase 3, or write the equivalent). npm run validate catches drift between the three.

Before Committing

npm run validate   # skill/command/version/artifact-path/reference-link/opencode-sync checks
npm test            # unit tests for the validators themselves

Both must pass. validate-artifact-paths.js specifically guards the spec/<feature-name>/ → tasks/<feature-name>/ → /build pipeline against silent path drift — read its file header before changing any spec/plan path convention.

Boundaries

  • Always: follow docs/skill-anatomy.md for new/changed skills; keep the per-feature spec/<feature-name>/ and tasks/<feature-name>/ path convention (this is the repo's whole reason for forking, don't regress it back to upstream's root-level convention); run npm run validate + npm test before committing.
  • Ask first: renaming the repo or plugin; deleting a skill or command; pushing to origin; anything under .claude-plugin/, .codex-plugin/, .agents/plugins/ (these are the install surface for every harness).
  • Never: duplicate content between skills — reference the other skill instead; add a skill that's vague advice instead of an actionable process; let a command's three surfaces (.md + two .toml) drift out of sync.

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.