Skip to content

Commit e5e9e31

Browse files
maystudiosclaude
andcommitted
feat: close all audit gaps — tests, spec docs, config, verification, website polish
- INTERNALS.md: hooks table expanded from 5 to 8 entries (added session-start, teammate-idle, task-completed) - Skills: renamed all 15 SKILL.md → index.md + updated 19 files with references - Commands: added /maxsim:execute-phase alias, Ctrl+G tips in 11 Plan Mode commands - Tests: 6 new test files (check-update, notification-sound, stop-sound, statusline, version, install-hooks fixture) - Workflows: per-task verification in execute.md, per-task TSV logging, verify-phase.md deliverable checks - Config: permissions block in settings.json, ensureDiscussionCategory in discussions.ts, worktree config options - Website: renamed planning-directory.md → github-project-board.md, cleaned .planning/ prohibition text - Package: added test:e2e script, lint fixes (biome compliance) - Commands: debug.md auto-trigger note, progress.md overdue detection, init.md brownfield support Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 719fe3c commit e5e9e31

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1619
-153
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
### Features
1818

19-
* add executable Tier 2 Agent Teams patterns to execute.md and maxsim-batch SKILL.md ([8460d8a](https://github.com/maystudios/maxsimcli/commit/8460d8a6d4e95522b6e90a9e10cda6a34ae14320))
19+
* add executable Tier 2 Agent Teams patterns to execute.md and maxsim-batch index.md ([8460d8a](https://github.com/maystudios/maxsimcli/commit/8460d8a6d4e95522b6e90a9e10cda6a34ae14320))
2020
* add Tier selection logic to debug.md and plan-research.md workflows ([ef9590e](https://github.com/maystudios/maxsimcli/commit/ef9590e8ee9aa976607e875c5601e5c80a48ef2f))
2121
* **cli:** add resolve-max-agents command with task complexity scaling ([cd16494](https://github.com/maystudios/maxsimcli/commit/cd16494e3d23678ec3c4ae2e51d43fcfc0945a4d))
2222

INTERNALS.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Exported functions:
263263

264264
## Hook System
265265

266-
Five hook scripts compiled by tsdown into `dist/assets/hooks/*.cjs` and
266+
**Seven** hook scripts (plus statusLine) compiled by tsdown into `dist/assets/hooks/*.cjs` and
267267
installed to `.claude/maxsim/hooks/` at `npx maxsimcli` time.
268268

269269
| Hook script | Event | Purpose |
@@ -273,6 +273,9 @@ installed to `.claude/maxsim/hooks/` at `npx maxsimcli` time.
273273
| `maxsim-notification-sound.cjs`| Notification| Play sound when Claude asks a question |
274274
| `maxsim-stop-sound.cjs` | Stop | Play sound when Claude finishes |
275275
| `maxsim-capture-learnings.cjs` | Stop | Append session commits to MEMORY.md |
276+
| `maxsim-session-start.cjs` | SessionStart | Inject MEMORY.md + TSV + git log context at session start |
277+
| `maxsim-teammate-idle.cjs` | TeammateIdle | Check pending tasks before teammate goes idle (exit 2 blocks) |
278+
| `maxsim-task-completed.cjs` | TaskCompleted| Run test/build/lint gates before task completion (exit 2 blocks) |
276279

277280
All hooks share `hooks/shared.ts`:
278281
- `CLAUDE_DIR = '.claude'` constant.
@@ -290,12 +293,17 @@ All hooks share `hooks/shared.ts`:
290293
```json
291294
{
292295
"hooks": {
293-
"SessionStart": [{ "hooks": [{ "type": "command", "command": "node \"...maxsim-check-update.cjs\"" }] }],
296+
"SessionStart": [
297+
{ "hooks": [{ "type": "command", "command": "node \"...maxsim-check-update.cjs\"" }] },
298+
{ "hooks": [{ "type": "command", "command": "node \"...maxsim-session-start.cjs\"" }] }
299+
],
294300
"Notification": [{ "hooks": [{ "type": "command", "command": "node \"...maxsim-notification-sound.cjs\"" }] }],
295301
"Stop": [
296302
{ "hooks": [{ "type": "command", "command": "node \"...maxsim-stop-sound.cjs\"" }] },
297303
{ "hooks": [{ "type": "command", "command": "node \"...maxsim-capture-learnings.cjs\"" }] }
298-
]
304+
],
305+
"TeammateIdle": [{ "hooks": [{ "type": "command", "command": "node \"...maxsim-teammate-idle.cjs\"" }] }],
306+
"TaskCompleted": [{ "hooks": [{ "type": "command", "command": "node \"...maxsim-task-completed.cjs\"" }] }]
299307
},
300308
"statusLine": { "command": "node \"...maxsim-statusline.cjs\"" },
301309
"env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" }
@@ -403,7 +411,7 @@ directly — it is copied into `dist/assets/templates/` during the build.
403411

404412
### Skills (14)
405413

406-
Located at `templates/skills/`, one subdirectory per skill with a `SKILL.md`.
414+
Located at `templates/skills/`, one subdirectory per skill with an `index.md`.
407415
All follow Anthropic's skill convention: YAML frontmatter with `name` and
408416
`description`, body under 500 lines, no `@` imports.
409417

@@ -529,6 +537,8 @@ User: /maxsim:execute 3
529537
530538
5. User approves (ExitPlanMode)
531539
540+
> **Tip:** Users can press **Ctrl+G** while reviewing a plan to edit it in their default text editor before approving.
541+
532542
6. Workflow: spawn executor agents (Agent tool, isolation: worktree)
533543
→ one worktree per task: .maxsim-worktrees/phase-3-task-{id}/
534544
→ branch per task: maxsim/phase-3-task-{id}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ Project config lives in `.claude/maxsim/config.json`, created during `/maxsim:in
350350

351351
## Skills
352352

353-
Skills are reusable prompt modules that agents load on demand. Each skill is a `SKILL.md` file with YAML frontmatter and a markdown body.
353+
Skills are reusable prompt modules that agents load on demand. Each skill is an `index.md` file with YAML frontmatter and a markdown body.
354354

355355
### Built-in Skills (14)
356356

docs/spec/claude-md-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ When MaxsimCLI spawns a subagent (Executor, Planner, Researcher, Verifier), the
622622
Skills do not explicitly import CLAUDE.md — it is already in context when a skill runs. A skill can reference instructions from CLAUDE.md without repeating them:
623623

624624
```markdown
625-
# SKILL.md for deployment skill
625+
# index.md for deployment skill
626626

627627
Deploy following the project commit conventions (see CLAUDE.md) and the
628628
verification protocol (see .claude/rules/verification-protocol.md).

docs/spec/parallel-execution-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,8 +1031,8 @@ Do workers need to share findings mid-task?
10311031

10321032
**Local MaxsimCLI Reference:**
10331033
- `/c/Development/cli/maxsim/docs/claude-own-skills-ref/batch.md` — Batch parallel orchestration skill
1034-
- `/c/Development/cli/maxsim/docs/superpowers-reference/skills/dispatching-parallel-agents/SKILL.md` — Parallel agent dispatch patterns
1035-
- `/c/Development/cli/maxsim/docs/superpowers-reference/skills/subagent-driven-development/SKILL.md` — Sequential subagent development with review gates
1034+
- `/c/Development/cli/maxsim/docs/superpowers-reference/skills/dispatching-parallel-agents/index.md` — Parallel agent dispatch patterns
1035+
- `/c/Development/cli/maxsim/docs/superpowers-reference/skills/subagent-driven-development/index.md` — Sequential subagent development with review gates
10361036

10371037
**Community:**
10381038
- [Claude Code Sub-Agents: Parallel vs Sequential Patterns](https://claudefa.st/blog/guide/agents/sub-agent-best-practices)

docs/spec/plan-mode-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,5 +1086,5 @@ claude --permission-mode plan -p "Create a migration plan for the auth system"
10861086
- [plannotator — Visual Plan Review for Claude Code](https://plannotator.ai/)
10871087
- [plannotator GitHub Repository](https://github.com/backnotprop/plannotator)
10881088
- [Short Notes — Claude Code Settings: Default to Plan Mode and Plans Directory](https://notes.ghinda.com/post/claude-code-settings-default-to-plan-mode-and-plans-directory)
1089-
- [MAXSIM writing-plans skill](/c/Development/cli/maxsim/docs/superpowers-reference/skills/writing-plans/SKILL.md)
1090-
- [MAXSIM executing-plans skill](/c/Development/cli/maxsim/docs/superpowers-reference/skills/executing-plans/SKILL.md)
1089+
- [MAXSIM writing-plans skill](/c/Development/cli/maxsim/docs/superpowers-reference/skills/writing-plans/index.md)
1090+
- [MAXSIM executing-plans skill](/c/Development/cli/maxsim/docs/superpowers-reference/skills/executing-plans/index.md)

docs/spec/self-improvement-guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ The metric is the most critical decision in setting up an autoresearch loop. A b
584584

585585
| What to Improve | Metric Command | Direction |
586586
|-----------------|---------------|---------|
587-
| Skill token usage | `wc -w < .claude/skills/target-skill/SKILL.md` | Lower |
587+
| Skill token usage | `wc -w < .claude/skills/target-skill/index.md` | Lower |
588588
| Command response time | Custom timing harness | Lower |
589589
| Verification pass rate | Count of pass/fail over N runs | Higher |
590590
| Agent retry count | Parse stop hook logs for retry events | Lower |
@@ -737,7 +737,7 @@ The autoresearch pattern was designed for code optimization. MaxsimCLI uses it a
737737
### What Changes in Project Management Context
738738

739739
**The target is process, not code.** Instead of modifying implementation files, the loop modifies:
740-
- Skill instructions (`.claude/skills/*/SKILL.md`)
740+
- Skill instructions (`.claude/skills/*/index.md`)
741741
- Command definitions (`.claude/commands/maxsim/*.md`)
742742
- Agent prompts (`.claude/agents/*.md`)
743743
- Workflow definitions (`.claude/workflows/*.md`)
@@ -772,7 +772,7 @@ Goal: Reduce the number of agent retries required during phase execution
772772
Verify: node maxsim-tools.cjs stats --retries --last-phase
773773
Guard: npx vitest run
774774
Direction: lower_is_better
775-
Scope: .claude/skills/verification/SKILL.md
775+
Scope: .claude/skills/verification/index.md
776776
.claude/agents/executor.md
777777
```
778778

@@ -994,7 +994,7 @@ Mode: Bounded (30 iterations)
994994
**Setup:**
995995
```
996996
Goal: Reduce executor agent retry rate for verification tasks
997-
Scope: .claude/skills/verification/SKILL.md
997+
Scope: .claude/skills/verification/index.md
998998
.claude/agents/executor.md
999999
Verify: node maxsim-tools.cjs stats --retries --last-20-sessions
10001000
Guard: npx vitest run
@@ -1035,7 +1035,7 @@ Mode: Bounded (20 iterations)
10351035
```
10361036
Goal: Reduce the average number of tasks added/removed after planning
10371037
Scope: .claude/commands/maxsim/plan.md
1038-
.claude/skills/roadmap-writing/SKILL.md
1038+
.claude/skills/roadmap-writing/index.md
10391039
Verify: gh api repos/owner/repo/issues --jq '[.[] | select(.labels[].name == "task") | .number] | length'
10401040
Guard: (none — this metric has no binary pass/fail guard)
10411041
Direction: lower_is_better (fewer post-plan task changes = better upfront planning)

docs/spec/self-improvement-research.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,16 +286,16 @@ Replace the current `[NEEDS RESEARCH]` section with the architecture described i
286286
| Source | URL/Path |
287287
|--------|----------|
288288
| autoresearch repo | `github.com/uditgoenka/autoresearch` (cloned to `/tmp/autoresearch/`) |
289-
| autoresearch SKILL.md | `claude-plugin/skills/autoresearch/SKILL.md` |
289+
| autoresearch index.md | `claude-plugin/skills/autoresearch/index.md` |
290290
| autoresearch loop protocol | `claude-plugin/skills/autoresearch/references/autonomous-loop-protocol.md` |
291291
| autoresearch results logging | `claude-plugin/skills/autoresearch/references/results-logging.md` |
292292
| autoresearch core principles | `claude-plugin/skills/autoresearch/references/core-principles.md` |
293293
| Superpowers reference | `docs/superpowers-reference/` |
294294
| Superpowers research | `docs/superpowers-research.md` |
295295
| MaxsimCLI self-improvement guide | `docs/spec/self-improvement-guide.md` |
296296
| MaxsimCLI memory system guide | `docs/spec/memory-system-guide.md` |
297-
| MaxsimCLI verification skill | `templates/skills/verification/SKILL.md` |
298-
| MaxsimCLI project-memory skill | `templates/skills/project-memory/SKILL.md` |
297+
| MaxsimCLI verification skill | `templates/skills/verification/index.md` |
298+
| MaxsimCLI project-memory skill | `templates/skills/project-memory/index.md` |
299299
| MaxsimCLI capture-learnings hook | `packages/cli/src/hooks/maxsim-capture-learnings.ts` |
300300
| MaxsimCLI self-improvement ref | `templates/references/self-improvement.md` |
301301
| MaxsimCLI verification patterns | `templates/references/verification-patterns.md` |

docs/spec/skills-specification.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ Not preloaded. User-invocable on-demand. Activates when any of the 4 autonomous
932932

933933
### Estimated Line Count
934934

935-
~169 lines (SKILL.md body, excluding reference files)
935+
~169 lines (index.md body, excluding reference files)
936936

937937
---
938938

@@ -1010,20 +1010,20 @@ No circular references exist in the target state.
10101010
New skills require new directories under `templates/skills/`:
10111011

10121012
```
1013-
templates/skills/verification/SKILL.md (new — merge)
1014-
templates/skills/github-operations/SKILL.md (new — merge)
1015-
templates/skills/research/SKILL.md (new — merge)
1016-
templates/skills/project-memory/SKILL.md (new)
1013+
templates/skills/verification/index.md (new — merge)
1014+
templates/skills/github-operations/index.md (new — merge)
1015+
templates/skills/research/index.md (new — merge)
1016+
templates/skills/project-memory/index.md (new)
10171017
```
10181018

10191019
### Files to Update
10201020

10211021
```
1022-
templates/skills/tdd/SKILL.md (update See also)
1023-
templates/skills/systematic-debugging/SKILL.md (fix "5-Step" → "6-Step", update See also)
1024-
templates/skills/roadmap-writing/SKILL.md (remove MAXSIM Integration section)
1025-
templates/skills/code-review/SKILL.md (add SPEC COMPLIANCE dimension)
1026-
templates/skills/using-maxsim/SKILL.md (update skills table)
1022+
templates/skills/tdd/index.md (update See also)
1023+
templates/skills/systematic-debugging/index.md (fix "5-Step" → "6-Step", update See also)
1024+
templates/skills/roadmap-writing/index.md (remove MAXSIM Integration section)
1025+
templates/skills/code-review/index.md (add SPEC COMPLIANCE dimension)
1026+
templates/skills/using-maxsim/index.md (update skills table)
10271027
templates/agents/AGENTS.md (update preloaded skills references)
10281028
templates/agents/executor.md (update: evidence-collection → verification)
10291029
templates/agents/researcher.md (update: research-methodology → research)

0 commit comments

Comments
 (0)