claude-swe-workflows
CLAUDE.md18 starsChanged 7 months agoMITView on GitHub
This is claude-swe-workflows, a Claude Code plugin for software engineering workflows. It provides skills and agents that extend Claude Code's capabilities for systematic development. Test the plugin locally: Skills (in skills/*/SKILL.md): - YAML frontmatter: name, description, model (opus/sonnet/haiku - lowercase) - Invoked by user with /skill-name - Define workflows, processes, or specialized behaviors Agents (in agents/*.md): - YAML frontmatter: name, description, model (lowercase) - Spawned programmatically via Task tool with subagent_type - Operate autonomously within defined scope Model names must…
In this repository32 other files it gives its agents.
- bug-fixSkill
- bug-huntSkill
- implement-batchSkill
- implement-projectSkill
- implementSkill
- lead-bug-huntSkill
- lead-projectSkill
- lead-refactorSkill
- lead-reviewSkill
- pre-compactSkill
- refactorSkill
- releaseSkill
- review-a11ySkill
- review-archSkill
- review-healthSkill
- review-perfSkill
- review-releaseSkill
- review-securitySkill
- review-testSkill
- scope-projectSkill
- scopeSkill
- test-mutationSkill
- think-achSkill
- think-brainstormSkill
- think-deliberateSkill
- think-diagnoseSkill
- think-premortemSkill
- think-reflectSkill
- think-reframeSkill
- think-scrutinizeSkill
- tidy-docsSkill
- tidy-gitSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Test the plugin locally:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Repository Overview
This is claude-swe-workflows, a Claude Code plugin for software engineering workflows. It provides skills and agents that extend Claude Code's capabilities for systematic development.
Plugin Structure
├── .claude-plugin/
│ ├── marketplace.json # Marketplace manifest (lists plugins for installation)
│ └── plugin.json # Plugin metadata (name, version, description, license)
├── agents/ # Agent definitions
│ └── agent-name.md # Agent prompt with YAML frontmatter
├── skills/ # Skill definitions
│ └── skill-name/
│ ├── SKILL.md # Skill prompt with YAML frontmatter
│ └── references/
│ └── README.md # Human-readable guide for the skill
├── references/ # Cross-cutting reference and discipline docs
│ ├── autonomy.md # Discipline for the orchestrator namespaces
│ ├── think.md # Design discipline for the /think-* namespace
│ └── ...
├── CHANGELOG.md
├── CONTRIBUTING.md
└── README.mdDevelopment
Test the plugin locally:
claude --plugin-dir .Writing Skills and Agents
Skills (in skills/*/SKILL.md):
- YAML frontmatter:
name,description,model(opus/sonnet/haiku - lowercase) - Invoked by user with
/skill-name - Define workflows, processes, or specialized behaviors
Agents (in agents/*.md):
- YAML frontmatter:
name,description,model(lowercase) - Spawned programmatically via
Tasktool withsubagent_type - Operate autonomously within defined scope
Model names must be lowercase (opus, sonnet, haiku) - capitalized names are not recognized.
New /think-* skills must pass the five tests in references/think.md. When proposing or designing a new /think-* skill, read references/think.md first and check the proposal against the tests there. Skills outside the /think-* namespace are admitted by different criteria — primarily, whether they earn their keep in real software-engineering work — though the practitioner-methodology and structured-discipline values described in references/think.md apply across the plugin.
Workflow
The skills form a layered system. Higher-level workflows orchestrate lower-level ones:
/lead-project
└── OODA loop invoking any skill below, until commander's intent is met
/implement-project
├── /implement-batch (per batch)
│ └── /implement (per ticket)
└── quality pipeline: /refactor, /review-arch, /review-test, /tidy-docs, /review-release
/lead-refactor
└── /refactor → loop: /review-arch + /implement-batch (until convergence) → /refactor
/lead-bug-hunt
└── loop: /bug-hunt → /implement-batch (until convergence)
└── termination: /review-test (new tests) → /refactor (optional)
/lead-review
└── /review-health → /review-arch → /review-security → /review-perf
→ /review-a11y → /review-test → /review-release
(sub-skill ticket proposals auto-approved or auto-declined per startup choice)Planning feeds implementation: /scope-project → /implement-project, or /scope → /implement. /lead-project sits one level higher — given a commander's intent, it decides which of the below skills to invoke and when.
Supporting workflows available at any level:
Reasoning and decisions:
/think-reframe— problem redefinition/think-brainstorm— divergent idea generation/think-diagnose— abductive reasoning about causes/think-ach— analysis of competing hypotheses/think-deliberate— adversarial decision-making/think-premortem— prospective failure imagination/think-scrutinize— adversarial idea critique/think-reflect— retrospective learning
Bug work:
/bug-fix— diagnosis-first bug fixing/bug-hunt— proactive bug discovery/lead-bug-hunt— autonomous bug-elimination loop (orchestrator-family; iterates/bug-hunt→/implement-batchuntil convergence below a severity floor; always runs/review-teston new reproducing tests at termination)
Quality pipelines:
/test-mutation— mutation testing/lead-refactor— autonomous comprehensive refactoring (orchestrator-family; Phase 1 tactical/refactor→ Phase 2 loop of/review-arch+/implement-batchuntil convergence below severity floor → Phase 3 final/refactor)/lead-review— autonomous comprehensive review (orchestrator-family; runs every/review-*sub-skill in sequence; operator-configurable ticket creation at startup)
Releases:
/release— cut a project release (discovers release procedure, always invokes/review-releaseas preflight, plans before executing, halts on first failure rather than attempting rollback)
Utility:
/pre-compact— pre-compaction housekeeping (memory, git, trash, SBAR, resume prompt)/tidy-git— mechanical local repo hygiene (prune stale refs, delete merged branches, report stashes/untracked/unpushed)
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
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.

