Commit Graph

163 Commits

Author SHA1 Message Date
Trevin Chow
ebb109f3a4 Merge pull request #260 from EveryInc/feat/ce-compound-refresh
feat(skills): add ce:compound-refresh skill for learning and pattern maintenance
2026-03-16 16:33:40 -07:00
Kieran Klaassen
84ca52efdb fix(compound): remove overly defensive context budget precheck (#278) (#279)
The Phase 0 vibes-based heuristic warned users and forced a mode choice
even with 80%+ context remaining. Full mode now runs by default;
compact-safe mode stays available on explicit request.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 08:23:25 -07:00
Trevin Chow
c2582fab67 fix(skill): align compound-refresh question tool guidance 2026-03-15 15:01:52 -07:00
Trevin Chow
b7e43910fb fix(skills): require specific branch names based on what was refreshed 2026-03-15 14:44:34 -07:00
Trevin Chow
a47f7d67a2 fix(skills): use actual branch name in commit options instead of 'this branch' 2026-03-15 14:44:34 -07:00
Trevin Chow
0c333b08c9 fix(skills): allow direct commit on main as non-default option 2026-03-15 14:44:34 -07:00
Trevin Chow
6969014532 fix(skills): enforce branch creation when committing on main
The model was offering "commit to current branch" on main instead
of "create a branch and PR." Added explicit branch detection step
and "Do NOT commit directly to main" instruction.
2026-03-15 14:44:34 -07:00
Trevin Chow
e3e7748c56 fix(skills): remove prescriptive branch naming in compound-refresh
Let the agent generate a reasonable branch name based on context
and repo conventions instead of prescribing a date-based format
that would collide on multiple runs per day.
2026-03-15 14:44:34 -07:00
Trevin Chow
d4c12c39fd feat(skills): add Phase 5 commit workflow to ce:compound-refresh
Handles committing changes at the end of a refresh run so doc
maintenance doesn't sit uncommitted. Detects git context and adapts:
autonomous mode uses sensible defaults (branch + PR on main, separate
commit on feature branches), interactive mode presents options. Always
selectively stages only compound-refresh files to avoid mixing with
in-progress feature work.
2026-03-15 14:44:34 -07:00
Trevin Chow
db8c84acb4 fix(skills): include tool constraint in subagent task prompts
The file-tools-over-bash instruction was in the orchestrator's
context but not passed to spawned subagents. Changed to an explicit
quoted instruction block that must be included in each subagent's
task prompt so it's visible to the subagent, not just the orchestrator.
2026-03-15 14:44:34 -07:00
Trevin Chow
42013612bd fix(skills): prevent auto-archive when problem domain is still active
Auto-archive now requires both the implementation AND the problem
domain to be gone. If referenced files are deleted but the application
still deals with the same problem (auth, payments, migrations), the
learning should be Replace'd not Archive'd — the knowledge gap needs
to be filled. Uses agent reasoning about concepts, not mechanical
keyword searches.
2026-03-15 14:44:34 -07:00
Trevin Chow
c271bd4729 fix(skills): specify markdown format for autonomous report output 2026-03-15 14:44:34 -07:00
Trevin Chow
2ae6fc4458 fix(skills): enforce full report output in autonomous mode
The model was generating findings internally then outputting a
one-line summary. Added explicit instructions that the full report
must be printed as text output — every file, every classification,
every action. In autonomous mode, the report is the sole deliverable
and must be self-contained and complete.
2026-03-15 14:44:34 -07:00
Trevin Chow
d3aff58d9e fix(skills): strengthen autonomous mode to prevent blocking on user input
- Restructure Phase 3 with explicit autonomous skip section that says
  "do not ask, do not present, do not wait" before any interactive
  instructions
- Add autonomous caveats to Core Rules 4, 7, 8 which previously had
  unconditional "ask the user" language
- Clarify that missing referenced files is unambiguous Archive evidence,
  not a doubt case requiring user input
2026-03-15 14:44:34 -07:00
Trevin Chow
684814d951 fix(skills): autonomous mode adapts to available permissions
Instead of requiring write permissions, autonomous mode attempts
writes and gracefully falls back to recommendations when denied.
Report splits into Applied (succeeded) and Recommended (could not
write) sections. Read-only invocations produce a maintenance plan.
2026-03-15 14:44:34 -07:00
Trevin Chow
699f484033 feat(skills): add autonomous mode to ce:compound-refresh
Support mode:autonomous argument for unattended/scheduled runs.
In autonomous mode: skip all user questions, apply safe actions
directly, mark ambiguous cases as stale with conservative confidence,
and generate a detailed report for after-the-fact human review.
2026-03-15 14:44:34 -07:00
Trevin Chow
95ad09d3e7 feat(skills): add smart triage, drift classification, and replacement subagents to ce:compound-refresh
- Broad scope triage: inventory + impact clustering + spot-check drift
  for 9+ docs, recommends highest-impact area instead of blind ask
- Drift classification: sharp boundary between Update (fix references
  in-skill) and Replace (subagent writes successor learning)
- Replacement subagents: sequential subagents write new learnings using
  ce:compound's document format with investigation evidence already
  gathered, avoiding redundant research
- Stale fallback: when evidence is insufficient for a confident
  replacement, mark as stale and recommend ce:compound later
2026-03-15 14:44:34 -07:00
Trevin Chow
187571ce97 fix(skills): steer compound-refresh subagents toward file tools over shell commands
Avoids unnecessary permission prompts during investigation by
preferring dedicated file search and read tools instead of bash.
2026-03-15 14:44:34 -07:00
Trevin Chow
0dff9431ce fix(skills): improve ce:compound-refresh interaction and auto-archive behavior
- Use platform-agnostic interactive question tool phrasing with examples
  for Claude Code and Codex instead of hardcoding AskUserQuestion
- Fix contradiction between Phase 2 auto-archive criteria and Phase 3
  always-ask-before-archive rule so unambiguous archives proceed without
  unnecessary user prompts
2026-03-15 14:44:34 -07:00
Trevin Chow
bd3088a851 feat(skills): add ce:compound-refresh skill for learning and pattern maintenance
Adds a new skill that reviews existing docs/solutions/ learnings against the
current codebase and decides whether to keep, update, replace, or archive them.
Also enhances ce:compound with Phase 2.5 selective refresh checks.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-15 14:44:34 -07:00
Trevin Chow
24860ec3f1 feat: sync agent-browser skill with upstream vercel-labs/agent-browser
Update SKILL.md to match the latest upstream skill from
vercel-labs/agent-browser, adding substantial new capabilities:

- Authentication (auth vault, profiles, session persistence, state files)
- Command chaining, annotated screenshots, diffing
- Security features (content boundaries, domain allowlist, action policy)
- iOS Simulator support, Lightpanda engine, downloads, clipboard
- JS eval improvements (--stdin, -b for shell safety)
- Timeout guidance, config files, session cleanup

Add 7 reference docs (commands, authentication, snapshot-refs,
session-management, video-recording, profiling, proxy-support) and
3 ready-to-use shell templates.

Kept our YAML frontmatter, setup check section, and Playwright MCP
comparison table which are unique to our plugin context.
2026-03-14 20:08:27 -07:00
Trevin Chow
c8261b63d9 Merge pull request #252 from kirvahe/fix/create-agent-skills-dynamic-context-escaping
fix(create-agent-skills): remove literal dynamic context directives that break skill loading
2026-03-14 19:23:44 -07:00
Trevin Chow
d0b302ad88 Merge pull request #262 from EveryInc/remove/skill-creator-plugin
feat: remove skill-creator skill in favor of Anthropic's official version
2026-03-14 19:21:26 -07:00
Trevin Chow
0c0c69be37 Merge pull request #248 from mvanhorn/osc/199-fix-agent-namespace
fix(commands): use fully-qualified agent namespace in Task invocations
2026-03-13 22:21:10 -07:00
Matt Van Horn
026602e624 fix(skills): use fully-qualified agent namespace in Task invocations
Rebased onto main after #251 restructured commands into skills/.
Applied the same namespace fix to the new skill file locations
(ce-brainstorm, ce-plan, ce-review SKILL.md files).

Short agent names like `repo-research-analyst` are replaced with
fully-qualified `compound-engineering:research:repo-research-analyst`
to ensure correct agent resolution across all plugin targets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 09:28:05 -07:00
Trevin Chow
391adf96e1 docs: clarify that plugin versioning is release-owned
Update CLAUDE.md, AGENTS.md, plugin CLAUDE.md, and versioning docs
to make clear that contributors should not hand-bump plugin versions
or cut changelog entries in normal PRs. The automated release process
decides the next version after choosing which merged changes ship
together.
2026-03-13 00:01:22 -07:00
Trevin Chow
970816deb9 Remove skill-creator skill in favor of Anthropic's official version
Anthropic now maintains a better skill-creator at
github.com/anthropics/skills/tree/main/skills/skill-creator.
Removes the bundled skill-creator and updates component counts
from 47 to 46 skills.
2026-03-12 23:54:31 -07:00
Trevin Chow
a8f49093de Merge pull request #258 from mvanhorn/fix/remove-technical-review-refs
fix(plan): remove deprecated /technical_review references
2026-03-12 23:42:08 -07:00
Trevin Chow
30852b7293 fix(agents): update learnings-researcher model from haiku to inherit
Replaces hardcoded haiku model with inherit so the agent uses the
caller's model instead of being pinned to an older/smaller model.

Supersedes #249
2026-03-12 23:39:19 -07:00
Matt Van Horn
0ab91847f2 fix(plan): remove deprecated /technical_review references
The /technical_review command was removed in v2.32.0 but references
remained in ce:plan and deepen-plan menus. Remove them entirely -
the existing 'Review and refine' option (document-review) already
covers plan review.

Fixes #244

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 16:31:41 -07:00
Matt Van Horn
3e99c11c0b refactor(skills): migrate commands to skills directory structure
Move all 27 command .md files from commands/ to skills/*/SKILL.md
format. Claude Code 2.1.3+ merged commands and skills - both create
slash commands and work identically. Skills add optional features
like supporting files and automatic context loading.

- commands/ce/*.md -> skills/ce-*/SKILL.md
- commands/workflows/*.md -> skills/workflows-*/SKILL.md
- commands/*.md -> skills/*/SKILL.md
- Update plugin.json and marketplace.json descriptions
- Update CLAUDE.md directory structure docs
- Update deploy-docs and generate_command references

Fixes #116

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:35:46 -07:00
Vahe Kirakosyan
4b4d1ae270 fix(create-agent-skills): remove literal dynamic context directives that break skill loading
The `create-agent-skills` SKILL.md contained literal `!`command`` dynamic
context injection directives as documentation examples. Claude Code's
preprocessor executes these directives as plain text before the skill
content is sent to the model — it does not parse markdown, so fenced code
blocks and inline code spans offer no protection.

When loading this skill, the preprocessor attempted to run `command`,
`gh pr diff`, and `gh pr diff --name-only` as shell commands, producing:

    Bash command failed for pattern "!`command`":
    (eval):1: redirection with no command

This caused the skill to fail silently or error on every invocation.

Fix: replace the literal directives with a prose description of the
syntax, add a warning about the preprocessor behavior, and link to
`references/official-spec.md` § "Dynamic Context Injection" for the
concrete example (reference files are loaded on-demand by Claude via the
Read tool and are not preprocessed).

Upstream context:
- anthropics/claude-code#27149 (closed, wontfix): preprocessor correctly
  executes bare text; workaround is to describe the syntax in prose
- anthropics/claude-code#28024 (closed as duplicate of #13655)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:36:46 +01:00
Kieran Klaassen
d2ab6c0768 feat(plugin): release v2.39.0 with community contributions
Bump plugin to 2.39.0 with features from Matt Van Horn (@mvanhorn):
context budget precheck, plan sequence numbers, review serial mode,
agent-browser debugging commands, test-browser port detection, lfg
phase gating, and Context7 API key auth.

Also fixes MCP server merge order so plugin servers correctly
overwrite stale entries during sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 17:02:50 -07:00
Kieran Klaassen
e1e5eacd33 Merge pull request #238 from mvanhorn/feat/plan-daily-sequence-number
feat(plan): add daily sequence number to plan filenames
2026-03-10 16:46:01 -07:00
Kieran Klaassen
8c3f2a584e Merge pull request #237 from mvanhorn/fix/review-serial-mode
fix(review): add serial execution mode to prevent context limit crashes
2026-03-10 16:41:10 -07:00
Kieran Klaassen
a95a162428 Merge pull request #236 from mvanhorn/docs/agent-browser-debugging-commands
docs(agent-browser): add inspection and debugging commands
2026-03-10 16:40:44 -07:00
Kieran Klaassen
4107781855 Merge pull request #234 from mvanhorn/refactor/move-skill-only-agents-to-skills
refactor(agents): remove duplicate agent that already exists as skill
2026-03-10 16:40:32 -07:00
Kieran Klaassen
5a982e2925 Merge pull request #233 from mvanhorn/fix/test-browser-port-detection
fix(test-browser): detect dev server port from project config
2026-03-10 16:38:43 -07:00
Kieran Klaassen
3e8a9b7cfa Merge pull request #232 from mvanhorn/fix/context7-api-key-auth
fix(mcp): add API key auth support for Context7 server
2026-03-10 16:38:10 -07:00
Matt Van Horn
e94ca04096 feat(plan): add daily sequence number to plan filenames
Closes #135

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:52:20 -07:00
Matt Van Horn
d96671b9e9 fix(review): add serial mode to prevent context limit crashes
Adds --serial flag and auto-detection (6+ agents) to run review agents
sequentially instead of in parallel, preventing context limit errors
with Opus 4.6.

Closes #166

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:51:56 -07:00
Matt Van Horn
1f50483030 docs(agent-browser): add inspection and debugging commands
Documents all missing agent-browser CLI commands for debugging workflows.
Adds 9 new command categories: eval, console/errors, network, storage,
device settings, element debugging, recording/tracing, tabs, and
advanced mouse controls.

Closes #170

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:51:29 -07:00
Matt Van Horn
4fc6ddc5db feat(plan): add daily sequence number to plan filenames
Closes #135

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:51:21 -07:00
Matt Van Horn
7266062868 feat(compound): add context budget precheck and compact-safe mode
Add Phase 0 context budget check that warns users when running /compound
near context limits, and offers a compact-safe single-pass alternative
that avoids launching 5 parallel subagents.

Closes #198

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:45:27 -07:00
Matt Van Horn
4fc70939eb refactor(agents): remove duplicate every-style-editor agent
The every-style-editor agent file was a duplicate of the existing
every-style-editor skill. Agent files are eagerly loaded into the
Task tool definition on every API call (~100-200 tokens each),
while skills are lazy-loaded only when invoked. Removing the
duplicate saves tokens and eliminates potential runtime errors
when the agent is invoked via Task tool instead of Skill tool.

Changes:
- Delete agents/workflow/every-style-editor.md (skill version
  in skills/every-style-editor/ already exists)
- Update README.md workflow agent count from 5 to 4
- Update plugin.json agent counts from 29 to 28

Fixes #156

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:45:27 -07:00
Matt Van Horn
50cb89efde fix(test-browser): detect dev server port from project config
Replace all hardcoded localhost:3000 references with dynamic port
detection. The command now checks (in priority order): explicit
--port argument, CLAUDE.md config, package.json scripts, .env files,
then falls back to 3000.

Closes #164

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:44:10 -07:00
Matt Van Horn
94aedd5a7b fix(test-browser): detect dev server port from project config
Replace all hardcoded localhost:3000 references with dynamic port
detection. The command now checks (in priority order): explicit
--port argument, CLAUDE.md config, package.json scripts, .env files,
then falls back to 3000.

Closes #164

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:43:52 -07:00
Matt Van Horn
c649cfc17f fix(mcp): add API key auth support for Context7 server
Add x-api-key header to Context7 MCP config using CONTEXT7_API_KEY env
var with empty default so it remains optional. Without auth, all requests
hit the anonymous rate limit ("Monthly quota exceeded"). Also update
README to document the API key setup and the Known Issues workaround.

Closes #153

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:43:21 -07:00
Matt Van Horn
b07f43ddf5 fix(lfg): enforce plan phase with explicit step gating
Add CRITICAL instruction block and GATE checkpoints between steps to
prevent Claude from skipping the plan phase and jumping straight to
coding. Each gate requires verification that the previous step produced
its expected output before proceeding.

Closes #227

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:41:56 -07:00
Kieran Klaassen
1a0ddb9de1 chore: Bump version to 2.38.1 with changelog for #204 fix
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 15:50:45 -08:00