agentleFS
rsmdtrsmdt/the-startup/AGENTS.md

the-startup

AGENTS.md523 starsChanged 7 months agoMITView on GitHub

The Agentic Startup is a spec-driven development framework for Claude Code, distributed as marketplace plugins. It provides workflow commands, autonomous skills, specialized agents, and output styles to transform how you build software. Each plugin lives in plugins/[name]/ with: - .claude-plugin/plugin.json - Plugin manifest defining name, version, components - commands/ - Slash command definitions (markdown files) - skills/ - Autonomous skills (SKILL.md files with trigger terms) - output-styles/ - Output style definitions - agents/ - Agent definitions (team plugin only) Skills…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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 repositoryOne other file it gives its agents.

The file

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

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

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

    Keep SKILL.md under ~25 KB for context efficiency

    line 110

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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 Claude Code (claude.ai/code) when working with code in this repository.

What This Is

The Agentic Startup is a spec-driven development framework for Claude Code, distributed as marketplace plugins. It provides workflow commands, autonomous skills, specialized agents, and output styles to transform how you build software.

Repository Structure

the-startup/
├── plugins/
│   ├── start/                    # Core workflow orchestration plugin
│   │   ├── .claude-plugin/       # Plugin manifest (plugin.json)
│   │   ├── skills/               # 14 skills (9 user-invocable + 5 autonomous)
│   │   ├── output-styles/        # The Startup, The ScaleUp output styles
│   │   └── README.md             # Detailed plugin documentation
│   │
│   ├── team/                     # Specialized agent library plugin
│   │   ├── agents/               # 8 roles with 15 consolidated activity agents
│   │   │   ├── the-chief.md      # Complexity assessment, routing
│   │   │   ├── the-analyst/      # research-product
│   │   │   ├── the-architect/    # design-system, review-security, review-robustness, review-compatibility
│   │   │   ├── the-developer/    # build-feature, optimize-performance, etc.
│   │   │   ├── the-devops/       # build-platform, monitor-production
│   │   │   ├── the-designer/     # research-user, design-interaction, design-visual
│   │   │   ├── the-tester/       # test-strategy
│   │   │   └── the-meta-agent.md # Agent design and generation
│   │   └── skills/               # 16 consolidated cross-cutting and domain skills
│   │
│   └── constitution/             # Project governance rules plugin (optional)
│
├── scripts/
│   ├── statusline.sh             # Custom statusline for Claude Code terminal
│   └── statusline.toml           # Statusline configuration template
│
├── docs/
│   ├── PHILOSOPHY.md             # Activity-based architecture rationale
│   ├── PRINCIPLES.md             # Core development principles
│   ├── patterns/                 # Technical patterns documentation
│   └── specs/                    # Feature specifications (requirements, solution, decomposition artifacts)
│
├── package.json                    # npm package definition for npx installer
└── README.md                     # User-facing documentation

Key Concepts

Plugin Architecture

Each plugin lives in plugins/[name]/ with:

  • .claude-plugin/plugin.json - Plugin manifest defining name, version, components
  • commands/ - Slash command definitions (markdown files)
  • skills/ - Autonomous skills (SKILL.md files with trigger terms)
  • output-styles/ - Output style definitions
  • agents/ - Agent definitions (team plugin only)

Skill Structure

Skills use progressive disclosure to minimize context usage:

skills/[skill-name]/
├── SKILL.md           # Core logic (~7-24 KB, always loaded)
├── reference/         # Advanced protocols (loaded when needed)
├── templates/         # Document templates
├── examples/          # Real-world scenarios
└── validation.md      # Quality checklists

For full skill conventions, PICS structure, and transformation checklist, see the writing-skills skill (plugins/start/skills/writing-skills/reference/conventions.md).

Agent Structure (Team Plugin)

Agents are organized by role with activity-based specializations:

agents/the-[role]/
├── [activity-1].md    # e.g., the-architect/design-system.md
├── [activity-2].md    # e.g., the-architect/review-security.md
└── ...

Each agent markdown file defines:

  • Purpose and trigger conditions
  • Tool access permissions
  • Activation examples
  • Integration with other agents

Development Workflow

Testing Changes Locally

# The plugins are directories - test by installing from local path
claude plugin install ./plugins/start
claude plugin install ./plugins/team

# Or use the interactive installer to test full installation
npx the-startup

# Uninstall to reset
claude plugin uninstall start@the-startup
claude plugin uninstall team@the-startup

Editing Skills

  1. Skills are markdown files (SKILL.md) - edit directly
  2. Skills activate on trigger terms defined in their YAML frontmatter
  3. Keep SKILL.md under ~25 KB for context efficiency
  4. Move advanced content to reference/ directory (loaded on demand)

Editing Commands

  1. Commands are markdown files in plugins/[plugin]/commands/
  2. Command name matches filename (e.g., specify.md → /start:specify)
  3. Commands orchestrate skills - they define workflow, skills provide implementation

Editing Agents

  1. Agents are markdown files in plugins/team/agents/[role]/
  2. Agent name matches [role]:[activity] pattern
  3. Agents define specialized Task tool prompts for subagent delegation

Editing Output Styles

  1. Output styles are markdown files in plugins/[plugin]/output-styles/
  2. Define personality, voice, and behavioral patterns
  3. Activated via /output-style [plugin]:[style-name]

Important Patterns

Progressive Disclosure

Skills load minimal context initially, then progressively load:

  • reference/ - Advanced protocols when complexity increases
  • templates/ - Document templates when creating artifacts
  • examples/ - Real-world scenarios when pattern matching

Spec-Driven Development

The primary workflow: /start:specify → /start:validate → /start:implement → /start:review

Specifications live in .start/specs/[NNN]-[name]/ (legacy: docs/specs/):

  • requirements.md - What to build
  • solution.md - How to build it
  • One of three decomposition artifact families based on tier (chosen at specify step 6):
    • Direct — no decomposition artifact; implement-direct reads requirements + solution directly
    • Incremental — plan/README.md + plan/phase-N.md (linear phase plan with TDD-structured tasks)
    • Factory — manifest.md + units/{id}.md + scenarios/{unit-id}/{name}.md (factory loop with information barriers and holdout scenarios)

Tier selection

/start:specify runs a complexity classifier (see plugins/start/skills/specify/reference/classifier.md) at step 6 and recommends a tier:

TierWhenDecomposition skillImplementation skill
DirectFixes, refactors, doc changes, single-AC featuresnoneimplement-direct
IncrementalSingle feature with one or two componentsspecify-incrementalimplement-incremental
FactoryMulti-feature, multi-component, parallel workspecify-factoryimplement-factory

/start:implement autodetects which tier was chosen (by inspecting which artifacts exist) and dispatches to the matching execution sub-skill. Users always invoke /start:specify and /start:implement — sub-skills are called internally.

Knowledge Capture

Discovered patterns, interfaces, and domain rules are automatically documented in:

  • docs/patterns/ - Technical patterns
  • docs/interfaces/ - External integrations
  • docs/domain/ - Business rules

Constitution Enforcement

Optional CONSTITUTION.md at project root defines checkable rules:

  • L1 (Must) - Blocking with autofix
  • L2 (Should) - Blocking, manual fix
  • L3 (May) - Advisory only

File Naming Conventions

TypeLocationNaming
Commandsplugins/*/commands/*.mdlowercase-kebab (e.g., specify.md)
Skillsplugins/*/skills/*/SKILL.mddirectory is skill name
Agentsplugins/team/agents/the-*/the-[role]/[activity].md
Output Stylesplugins/*/output-styles/*.mdTitle Case (e.g., The Startup.md)
Specs.start/specs/[NNN]-*/3-digit ID prefix

Publishing

The repository is a Claude Code marketplace. Publishing happens via:

  1. Push to main branch
  2. GitHub Actions workflow creates release
  3. Users install via /plugin marketplace add rsmdt/the-startup

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.