Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c01096a
feat: prototype boundary-validation skill with literature citations (…
Mar 30, 2026
e197cf6
refactor: atomic rename of 7 skills for V2 naming convention (Phase 1)
Mar 30, 2026
eff1b3d
feat(go): upgrade to V2 with literature citations
Mar 30, 2026
c483ed3
feat(python): upgrade to V2 with literature citations
Mar 30, 2026
3b732e0
feat(rust): upgrade to V2 with literature citations
Mar 30, 2026
1ce62e2
feat(typescript): upgrade to V2 with literature citations
Mar 30, 2026
6fdf584
feat(react): upgrade to V2 with literature citations
Mar 30, 2026
8fb74ce
feat(ui-design): upgrade to V2 with literature citations
Mar 30, 2026
0ed89cd
feat(architecture): upgrade to V2 with literature citations
Mar 30, 2026
8216b75
feat(testing): upgrade to V2 with literature citations
Mar 30, 2026
d683065
feat(software-design): upgrade to V2 with literature citations
Mar 30, 2026
19dd552
feat(security): upgrade to V2 with literature citations
Mar 30, 2026
92681ce
feat(testing): upgrade to V2 with literature citations
Mar 30, 2026
5fb91c2
fix: update stale skill name references in READMEs and docs
Mar 30, 2026
0857edb
test: add skill reference integrity tests across all 8 reference formats
Mar 30, 2026
ec34321
fix: expand skill reference tests to 11 formats, fix stale `commit` ref
Mar 30, 2026
2c8d618
fix: align reviewer focus area `tests` with orchestrator expectations
Mar 30, 2026
68d9d85
test: add cross-component runtime alignment tests, fix stale template
Mar 30, 2026
1961876
test: expand reference tests to integration helpers, preamble drift, …
Mar 30, 2026
f361999
feat: migrate shadow skill overrides from old V2 names during init
Mar 30, 2026
74ddb99
test: broaden install path + add shadow path coverage (Formats 3/3b)
Mar 30, 2026
b4cbcde
feat: migrate shadow skill overrides from old V2 names during init
Mar 30, 2026
6611581
fix(tests): rethrow on final retry attempt in runClaudeWithRetry
Mar 30, 2026
cc095d7
refactor(init): flatten migrateShadowOverrides with exists() helper a…
Mar 30, 2026
f2a63b0
refactor(tests): clean up skill-references.test.ts (batch-b)
Mar 30, 2026
3dc5621
test: add SHADOW_RENAMES consistency invariant and optimize stale-nam…
Mar 30, 2026
fb6bb59
refactor: complete V2 naming — rename 6 remaining skills, align focus…
Mar 30, 2026
ba42776
fix: address self-review issues
Mar 30, 2026
8346e10
refactor: consolidate git-safety + git-workflow + github-patterns int…
Mar 31, 2026
9045464
fix: add prefixed legacy entries for git skill cleanup on reinstall
Mar 31, 2026
ccd2b7a
Revert "fix: add prefixed legacy entries for git skill cleanup on rei…
Mar 31, 2026
782c41e
fix: add missing devflow-git-workflow and prefixed git consolidation …
Mar 31, 2026
7873f8b
fix: resolve batch-3 review issues — focus name, skill count, test pa…
Mar 31, 2026
935ace2
fix: serialize many-to-one shadow renames to eliminate TOCTOU race
Mar 31, 2026
ec84802
fix: update git Iron Law to atomic commits + simplify shadow migration
Mar 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ devflow/
```bash
# 1. Edit source files
vim plugins/devflow-code-review/commands/code-review.md # Commands/agents in plugins
vim shared/skills/security-patterns/SKILL.md # Skills in shared/
vim shared/skills/security/SKILL.md # Skills in shared/

# 2. Build (compiles CLI + distributes skills/agents to plugins)
npm run build
Expand Down
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

Claude Code is powerful. DevFlow makes it extraordinary.

**18 parallel code reviewers.** Not a linter. Not a single-pass review. DevFlow deploys up to 18 specialized reviewers simultaneously: security, architecture, performance, complexity, consistency, regression, tests, plus conditional reviewers for TypeScript, React, accessibility, Go, Python, Java, Rust, database, dependencies, and documentation. Each reviewer has domain-specific expertise. Findings include confidence scores, and false positives are tracked and penalized.
**18 parallel code reviewers.** Not a linter. Not a single-pass review. DevFlow deploys up to 18 specialized reviewers simultaneously: security, architecture, performance, complexity, consistency, regression, testing, plus conditional reviewers for TypeScript, React, accessibility, Go, Python, Java, Rust, database, dependencies, and documentation. Each reviewer has domain-specific expertise. Findings include confidence scores, and false positives are tracked and penalized.

**Working memory that never forgets.** Three shell hooks preserve session context across restarts, `/clear`, and context compaction. Zero ceremony. Your AI remembers what it was doing, what decisions were made, and what files were modified. Every session picks up exactly where the last one left off.

Expand All @@ -28,7 +28,7 @@ Claude Code is powerful. DevFlow makes it extraordinary.

## Features

- **18 parallel code reviewers** with security, architecture, performance, complexity, consistency, regression, tests, plus conditional language and framework reviewers
- **18 parallel code reviewers** with security, architecture, performance, complexity, consistency, regression, testing, plus conditional language and framework reviewers
- **Working memory** that survives restarts, `/clear`, and context compaction. Zero ceremony.
- **Self-learning** that detects repeated workflows and auto-creates slash commands and skills
- **Long-term project knowledge** with architectural decisions and known pitfalls that persist and inform reviews
Expand Down Expand Up @@ -124,14 +124,12 @@ The `devflow-core-skills` plugin provides quality enforcement skills that activa

| Skill | Triggers When |
|-------|---------------|
| `core-patterns` | Implementing business logic, error handling |
| `software-design` | Implementing business logic, error handling |
| `docs-framework` | Creating documentation artifacts in .docs/ |
| `git-safety` | Rebasing, force-pushing, merge conflicts |
| `git-workflow` | Staging files, creating commits, PRs |
| `github-patterns` | GitHub API operations, PR comments, releases |
| `git` | Git operations, commits, PRs, GitHub API |
| `test-driven-development` | Implementing new features (RED-GREEN-REFACTOR) |
| `test-patterns` | Writing or modifying tests |
| `input-validation` | Creating API endpoints |
| `testing` | Writing or modifying tests |
| `boundary-validation` | Creating API endpoints |
| `search-first` | Adding utilities, helpers, or infrastructure code |

## Language & Ecosystem Plugins
Expand All @@ -143,7 +141,7 @@ Optional plugins for language-specific patterns. Install only what you need:
| `devflow-typescript` | `typescript` | Working in TypeScript codebases |
| `devflow-react` | `react` | Working with React components |
| `devflow-accessibility` | `accessibility` | Creating UI components, forms |
| `devflow-frontend-design` | `frontend-design` | Working with CSS, styling |
| `devflow-frontend-design` | `ui-design` | Working with CSS, styling |
| `devflow-go` | `go` | Working in Go codebases |
| `devflow-python` | `python` | Working in Python codebases |
| `devflow-java` | `java` | Working in Java codebases |
Expand Down Expand Up @@ -315,16 +313,16 @@ Override any DevFlow skill with your own version. Shadowed skills survive `devfl

```bash
# Create a personal override (copies current version as reference)
npx devflow-kit skills shadow core-patterns
npx devflow-kit skills shadow software-design

# Edit your override
vim ~/.devflow/skills/core-patterns/SKILL.md
vim ~/.devflow/skills/software-design/SKILL.md

# List all overrides
npx devflow-kit skills list-shadowed

# Remove override (next init restores DevFlow's version)
npx devflow-kit skills unshadow core-patterns
npx devflow-kit skills unshadow software-design
```

### Uninstall Options
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/file-organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ devflow/
├── .claude-plugin/ # Marketplace registry (repo root)
│ └── marketplace.json
├── shared/
│ ├── skills/ # SINGLE SOURCE OF TRUTH (31 skills)
│ │ ├── git-workflow/
│ ├── skills/ # SINGLE SOURCE OF TRUTH (37 skills)
│ │ ├── git/
│ │ │ ├── SKILL.md
│ │ │ └── references/
│ │ ├── core-patterns/
│ │ ├── software-design/
│ │ └── ...
│ └── agents/ # SINGLE SOURCE OF TRUTH (10 shared agents)
│ ├── git.md
Expand Down
38 changes: 18 additions & 20 deletions docs/reference/skills-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ Shared patterns used by multiple agents.

| Skill | Purpose | Used By |
|-------|---------|---------|
| `core-patterns` | Engineering patterns (Result types, DI, immutability, workaround labeling) | Coder, Scrutinizer, Resolver, Shepherd |
| `software-design` | Engineering patterns (Result types, DI, immutability, workaround labeling) | Coder, Scrutinizer, Resolver, Shepherd |
| `review-methodology` | 6-step review process, 3-category issue classification | Reviewer, Synthesizer |
| `self-review` | 9-pillar self-review framework | Scrutinizer |
| `docs-framework` | Documentation conventions (.docs/ structure, naming, templates) | Synthesizer |
| `git-safety` | Git operations, lock handling, sequential ops | Coder, Git, Resolver |
| `git-workflow` | Atomic commits, message format, PR descriptions, size assessment | Coder, Git, Resolver |
| `github-patterns` | GitHub API patterns (rate limiting, PR comments, issues, releases) | Git |
| `git` | Git safety, atomic commits, PR descriptions, GitHub API patterns | Coder, Git, Resolver |
| `implementation-patterns` | CRUD, API endpoints, events, config, logging | Coder, Resolver |
| `agent-teams` | Agent Teams patterns for peer-to-peer collaboration, debate, consensus | /code-review, /implement, /debug |
| `ambient-router` | Intent classification and proportional skill loading for ambient mode (unrestricted tools — orchestrator) | Ambient UserPromptSubmit hook |
Expand All @@ -30,24 +28,24 @@ Domain expertise for Reviewer agent focus areas. Loaded dynamically based on rev

| Skill | Purpose | Reviewer Focus |
|-------|---------|----------------|
| `security-patterns` | Injection, auth, crypto, OWASP vulnerabilities | `security` |
| `architecture-patterns` | SOLID violations, coupling, layering, modularity | `architecture` |
| `performance-patterns` | Algorithms, N+1, memory, I/O, caching | `performance` |
| `complexity-patterns` | Cyclomatic complexity, readability, maintainability | `complexity` |
| `consistency-patterns` | Pattern violations, simplification, truncation | `consistency` |
| `test-patterns` | Coverage, quality, brittle tests, mocking, test design | `tests` |
| `database-patterns` | Schema, queries, migrations, indexes | `database` |
| `documentation-patterns` | Docs quality, alignment, code-comment drift | `documentation` |
| `dependencies-patterns` | CVEs, versions, licenses, supply chain | `dependencies` |
| `regression-patterns` | Lost functionality, broken behavior, migrations | `regression` |
| `security` | Injection, auth, crypto, OWASP vulnerabilities | `security` |
| `architecture` | SOLID violations, coupling, layering, modularity | `architecture` |
| `performance` | Algorithms, N+1, memory, I/O, caching | `performance` |
| `complexity` | Cyclomatic complexity, readability, maintainability | `complexity` |
| `consistency` | Pattern violations, simplification, truncation | `consistency` |
| `testing` | Coverage, quality, brittle tests, mocking, test design | `testing` |
| `database` | Schema, queries, migrations, indexes | `database` |
| `documentation` | Docs quality, alignment, code-comment drift | `documentation` |
| `dependencies` | CVEs, versions, licenses, supply chain | `dependencies` |
| `regression` | Lost functionality, broken behavior, migrations | `regression` |

### Tier 2: Specialized Skills

Listed in Claude Code's skill catalog. May auto-invoke based on description matching, but primary activation is through agent frontmatter references.

| Skill | Purpose | Agent Refs |
|-------|---------|------------|
| `input-validation` | Boundary validation enforcement | Coder |
| `boundary-validation` | Boundary validation enforcement | Coder |
| `search-first` | Research-before-building enforcement for utility code | Coder |
| `test-driven-development` | RED-GREEN-REFACTOR cycle enforcement | Coder |

Expand All @@ -60,7 +58,7 @@ Language and framework patterns. Referenced by agents via frontmatter and condit
| `typescript` | Type safety, generics, utility types, type guards | TypeScript codebases |
| `react` | Components, hooks, state management, performance | React codebases |
| `accessibility` | Keyboard, ARIA, focus, color contrast | Frontend codebases |
| `frontend-design` | Typography, color, spacing, visual design | Frontend codebases |
| `ui-design` | Typography, color, spacing, visual design | Frontend codebases |
| `go` | Error handling, interfaces, concurrency, package design | Go codebases |
| `python` | Type hints, protocols, dataclasses, async patterns | Python codebases |
| `java` | Records, sealed classes, composition, modern Java | Java codebases |
Expand All @@ -71,7 +69,7 @@ Language and framework patterns. Referenced by agents via frontmatter and condit
Skills activate through two guaranteed mechanisms:

1. **Agent frontmatter `skills:` field** — When an agent runs, all skills listed in its frontmatter are loaded into context. This is the primary activation path.
2. **Reviewer dynamic read** — The Reviewer agent reads the pattern skill file for its assigned focus area from a lookup table (e.g., `focus=tests` → `test-patterns/SKILL.md`).
2. **Reviewer dynamic read** — The Reviewer agent reads the pattern skill file for its assigned focus area from a lookup table (e.g., `focus=testing` → `testing/SKILL.md`).

Skills with `user-invocable: false` also appear in Claude Code's skill catalog with their description. Claude MAY auto-invoke them based on description matching, but this is not guaranteed and should not be relied upon as the sole activation path.

Expand All @@ -82,7 +80,7 @@ The `activation: file-patterns` frontmatter is metadata for documentation purpos
```yaml
---
name: Coder
skills: core-patterns, git-safety, implementation-patterns, git-workflow, ...
skills: software-design, git, implementation-patterns, ...
---
```

Expand Down Expand Up @@ -209,12 +207,12 @@ activation:
| `react` | `**/*.tsx`, `**/*.jsx` | `node_modules/**`, `**/*.test.*` |
| `typescript` | `**/*.ts`, `**/*.tsx` | `node_modules/**`, `**/*.d.ts` |
| `accessibility` | `**/*.tsx`, `**/*.jsx`, `**/*.css` | `node_modules/**` |
| `frontend-design` | `**/*.tsx`, `**/*.jsx`, `**/*.css`, `**/*.scss` | `node_modules/**` |
| `ui-design` | `**/*.tsx`, `**/*.jsx`, `**/*.css`, `**/*.scss` | `node_modules/**` |
| `go` | `**/*.go` | `vendor/**` |
| `python` | `**/*.py` | `venv/**`, `.venv/**`, `**/__pycache__/**` |
| `java` | `**/*.java` | `**/build/**`, `**/target/**` |
| `rust` | `**/*.rs` | `**/target/**` |
| `test-patterns` | `**/*.test.*`, `**/*.spec.*`, `**/test/**` | `node_modules/**` |
| `testing` | `**/*.test.*`, `**/*.spec.*`, `**/test/**` | `node_modules/**` |

**Note:** Glob patterns are metadata hints for documentation. Claude Code does not currently read glob patterns to trigger skills — activation happens through agent frontmatter and Reviewer dynamic read (see "How Skills Activate" above).

Expand Down
20 changes: 10 additions & 10 deletions plugins/devflow-ambient/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@
"resolve-orchestration",
"pipeline-orchestration",
"review-methodology",
"security-patterns",
"architecture-patterns",
"performance-patterns",
"complexity-patterns",
"consistency-patterns",
"regression-patterns",
"test-patterns",
"database-patterns",
"dependencies-patterns",
"documentation-patterns",
"security",
"architecture",
"performance",
"complexity",
"consistency",
"regression",
"testing",
"database",
"dependencies",
"documentation",
"implementation-patterns",
"knowledge-persistence",
"worktree-support"
Expand Down
6 changes: 3 additions & 3 deletions plugins/devflow-ambient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ Skills are loaded via the Skill tool and work happens in the main session:
| Intent | Skills | Main Session Work | Post-Work |
|--------|--------|-------------------|-----------|
| IMPLEMENT | test-driven-development, implementation-patterns, search-first | Implement with TDD | `Task(subagent_type="Simplifier")` |
| DEBUG | core-patterns, test-patterns | Investigate, diagnose, fix | `Task(subagent_type="Simplifier")` |
| PLAN | implementation-patterns, core-patterns | Explore and design | — |
| REVIEW | self-review, core-patterns | Review directly | — |
| DEBUG | software-design, testing | Investigate, diagnose, fix | `Task(subagent_type="Simplifier")` |
| PLAN | implementation-patterns, software-design | Explore and design | — |
| REVIEW | self-review, software-design | Review directly | — |

## ORCHESTRATED Pipelines

Expand Down
20 changes: 10 additions & 10 deletions plugins/devflow-code-review/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
],
"skills": [
"agent-teams",
"architecture-patterns",
"complexity-patterns",
"consistency-patterns",
"database-patterns",
"dependencies-patterns",
"documentation-patterns",
"architecture",
"complexity",
"consistency",
"database",
"dependencies",
"documentation",
"knowledge-persistence",
"performance-patterns",
"regression-patterns",
"performance",
"regression",
"review-methodology",
"security-patterns",
"test-patterns",
"security",
"testing",
"worktree-support"
]
}
22 changes: 11 additions & 11 deletions plugins/devflow-code-review/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The plugin spawns 7-11 parallel Reviewer agents, each with a specific focus:
| complexity | Cyclomatic complexity, readability |
| consistency | Pattern violations, style drift |
| regression | Lost functionality, broken behavior |
| tests | Coverage gaps, brittle tests |
| testing | Coverage gaps, brittle tests |
| database | Schema issues, slow queries |
| dependencies | CVEs, outdated packages |
| documentation | Doc drift, stale comments |
Expand All @@ -49,16 +49,16 @@ The plugin spawns 7-11 parallel Reviewer agents, each with a specific focus:

### Skills (11)
- `review-methodology` - 6-step review process
- `security-patterns` - Security vulnerabilities
- `architecture-patterns` - Design patterns
- `performance-patterns` - Performance issues
- `complexity-patterns` - Complexity metrics
- `consistency-patterns` - Pattern violations
- `regression-patterns` - Regression detection
- `test-patterns` - Test quality
- `database-patterns` - Database issues
- `dependencies-patterns` - Dependency management
- `documentation-patterns` - Documentation quality
- `security` - Security vulnerabilities
- `architecture` - Design patterns
- `performance` - Performance issues
- `complexity` - Complexity metrics
- `consistency` - Pattern violations
- `regression` - Regression detection
- `testing` - Test quality
- `database` - Database issues
- `dependencies` - Dependency management
- `documentation` - Documentation quality

## Output

Expand Down
Loading
Loading