Commit Graph

13 Commits

Author SHA1 Message Date
Trevin Chow
ebbf43db62 feat(agents): add learnings-researcher for institutional knowledge (#106)
* fix(compound-docs): correct severity enum in validation example

The example error message referenced [critical, moderate, minor] but
the yaml-schema.md defines severity as [critical, high, medium, low].

* refactor(agents): standardize search tool recommendations

- Update repo-research-analyst to recommend built-in Grep tool instead
  of CLI rg (Grep uses ripgrep under the hood)
- Add TypeScript example for ast-grep alongside Ruby
- Update pattern-recognition-specialist to use built-in Grep tool
- Keep ast-grep for AST-based structural matching (language-specific)

* feat(agents): add learnings-researcher for institutional knowledge

Add new research agent that efficiently searches docs/solutions/ for
relevant past solutions before implementing features or fixing bugs.

Key features:
- Grep-first filtering strategy for efficiency with 100+ files
- Category-based narrowing to reduce search scope
- Parallel Grep calls with synonym support (OR patterns)
- Frontmatter-only reads before full document reads
- Always checks critical patterns file
- Uses haiku model for speed (structured task, recipe-based)

Integrates with /workflows:plan to run in parallel with
repo-research-analyst during local research phase.

Closes the loop on compound engineering: solutions documented via
/workflows:compound are now discoverable during planning.
2026-01-21 22:01:34 -06:00
Trevin Chow
a675d22ff1 Standardize plan and brainstorm filename conventions (#105)
- Move plans from `plans/` to `docs/plans/` for consistency with other artifacts
- Add date prefix (YYYY-MM-DD) to both plans and brainstorms for chronological sorting
- Add self-documenting suffixes: `-plan` and `-brainstorm` to identify artifact type
- Update filename derivation to extract title from content, not filename
- Clarify deepened plan naming: append `-deepened` after `-plan` suffix

New conventions:
- Brainstorms: `docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md`
- Plans: `docs/plans/YYYY-MM-DD-<type>-<name>-plan.md`
- Deepened: `docs/plans/YYYY-MM-DD-<type>-<name>-plan-deepened.md`
2026-01-21 20:03:56 -06:00
Trevin Chow
cc905c7b9a feat: Add /workflows:brainstorm command and skill (#101)
* feat(workflows:plan): Add smart research decision logic

Previously, /workflows:plan always ran all 3 research agents (repo-research,
best-practices, framework-docs) regardless of task complexity. This wasted
tokens and time for simple tasks like UI tweaks or bug fixes with clear causes.

Now the workflow:
- Always runs repo research first (fast, local)
- Makes an informed decision about external research based on:
  - Signals gathered during idea refinement (familiarity, intent, risk)
  - Repo research findings (existing patterns, CLAUDE.md guidance)
- High-risk topics (security, payments, external APIs) always trigger research
- Strong local context allows skipping external research
- Announces the decision and proceeds, user can redirect if needed

This makes the planning workflow smarter about when web research adds value.

* feat: Add /workflows:brainstorm command and skill

Add brainstorming workflow to explore requirements and approaches
before planning implementation:

- New `/workflows:brainstorm` command for collaborative dialogue
- New `brainstorming` skill with process knowledge and techniques
- Update `/workflows:plan` to detect brainstorm output and skip
  idea refinement when relevant brainstorm exists
- Add brainstorm to README workflow commands table

The brainstorm → plan flow enables:
- Phase 0: Assess requirement clarity
- Phase 1: Understand the idea via repo research + dialogue
- Phase 2: Explore 2-3 approaches with trade-offs
- Phase 3: Capture design to docs/brainstorms/
- Phase 4: Handoff to /workflows:plan
2026-01-21 17:24:10 -06:00
Trevin Chow
6ab1f3c3ba feat: Add interactive Q&A refinement to /workflows:plan (#88)
Add two new phases to improve plan quality through user collaboration:

- Phase 0: Idea Refinement - Refines feature ideas through dialogue
  before running research agents. Asks questions one at a time,
  prefers multiple choice, focuses on purpose/constraints/success
  criteria. Skip option for detailed descriptions.

- Research Validation - After research completes, summarizes findings
  and validates alignment before drafting the full plan.

Both phases are optional and can be skipped, ensuring the workflow
remains lightweight while catching misunderstandings early.
2026-01-20 18:34:34 -06:00
mlissen
012a638d31 fix: Add explicit plan filename naming guidance (#76)
The /workflows:plan skill was producing inconsistent plan filenames
(sometimes gibberish, sometimes descriptive) because it lacked explicit
rules for converting issue titles to filenames.

Changes:
- Step 2: Added instruction to convert title to kebab-case filename
  with example transformation (feat: Add User Auth → feat-add-user-auth.md)
- Output Format: Replaced vague <issue_title> placeholder with clear
  pattern and good/bad examples

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 18:20:27 -06:00
tschier
d6b8cbc5db Update year and improve markdown formatting in plan.md (#64)
Updated the current year from 2025 to 2026 in the plan documentation and improved markdown formatting for code examples.
2026-01-03 01:09:39 -06:00
Kieran Klaassen
a473c67a71 [2.19.0] Add /deepen-plan command for power plan enhancement
- Add /deepen-plan command that enhances plans with parallel research agents
- Each plan section gets its own sub-agent for best practices, performance, UI research
- Update /workflows:plan to offer /deepen-plan as option 2 after plan creation
- Auto-run /deepen-plan when using ultrathink mode for maximum depth

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 13:28:38 -08:00
Kieran Klaassen
2a8f19936a [2.11.0] Namespace workflow commands to avoid collision with built-in /plan
Fixes #42

Workflow commands now use `workflows:` prefix to avoid collisions with
Claude Code's built-in commands:
- `/workflows:plan` (was `/plan`)
- `/workflows:review` (was `/review`)
- `/workflows:work` (was `/work`)
- `/workflows:compound` (was `/compound`)

To upgrade: Update to latest plugin version. If you see duplicate `/plan`
commands, the new namespaced commands avoid this collision.

Also fixed in this release:
- Added missing `name:` field to heal-skill.md and create-agent-skill.md
- Rewrote corrupted prime.md
- Shortened Playwright MCP alias from `playwright` to `pw`
- Removed deprecated codify.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 18:59:58 -08:00
Kieran Klaassen
5bcbc1aadf [2.10.2] Rename workflow commands to ce: prefix
- /compound:plan → /ce:plan
- /compound:review → /ce:review
- /compound:work → /ce:work
- /compound:codify → /ce:compound

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 18:43:13 -08:00
Kieran Klaassen
35b39ddc10 [2.10.1] Fix command collisions and bugs
Fixes:
- #40: Add missing `name:` field to heal-skill.md and create-agent-skill.md
- #41: Rewrite corrupted prime.md (was containing CLAUDE.md text)
- #42: Namespace workflow commands as `compound:*` to avoid collision with built-in `/plan`
- #36: Shorten Playwright MCP alias from `playwright` to `pw` (64 char limit)

Command renames:
- /plan → /compound:plan
- /review → /compound:review
- /work → /compound:work
- /compound → /compound:codify

Removed:
- Deprecated /codify command (use /compound:codify)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 18:38:31 -08:00
Kieran Klaassen
5febbf11d4 [2.9.3] Add "Open plan in editor" option to /plan command
- Added "Open plan in editor" as the first option in post-generation menu
- Opens plan file in user's default editor for review before next steps
- Reordered options: open → review → work → work remote → create issue → simplify

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 19:43:07 -08:00
Kieran Klaassen
a165503ec6 [2.9.1] Improve /plan command post-generation options
- Reorder options: Review first, Work locally second, Work on remote third
- Add "Work on remote" option with `&` for background execution on Claude Code web
- Remove separate "Rework" option since "Other" handles custom changes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 08:52:05 -08:00
Kieran Klaassen
6c5b3e40db [2.9.0] Rename plugin to compound-engineering
BREAKING: Plugin renamed from compounding-engineering to compound-engineering.
Users will need to reinstall with the new name:

  claude /plugin install compound-engineering

Changes:
- Renamed plugin directory and all references
- Updated documentation counts (24 agents, 19 commands)
- Added julik-frontend-races-reviewer to docs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 17:32:16 -08:00