Commit Graph

19 Commits

Author SHA1 Message Date
csh c35cf841bc 🐛 fix(playbook): add heading to generated CLAUDE.md 2026-05-31 13:43:59 +08:00
csh 7656ee2907 feat(skills): add uncle-bob-craft third-party skill 2026-05-31 13:43:49 +08:00
csh 2c5050de09 ♻️ refactor(skills): rename repo skills source dir
move the repository skills source from `codex/skills` to `skills`.

update vendor/install_skills paths, thirdparty sync pipeline, docs, and regression tests, including deployment-route e2e coverage.
2026-05-19 09:09:54 +08:00
csh 234b335663 feat(workflow): add superpowers planning and execution state tracking 2026-05-18 16:28:06 +08:00
csh 6518f0f554 feat(playbook): auto-create CLAUDE.md with path discovery
sync_claude_md now:
- Checks project root CLAUDE.md first, then .claude/CLAUDE.md
- Auto-creates if neither exists (default: project root)
- Supports playbook.claude_md config to override location
- Update test to verify auto-creation behavior

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-16 13:29:33 +08:00
csh 6ec9a45a83 feat(skills): add skill_link symlink support + platform-agnostic prompt
- Add skill_link config option to create a symlink/junction from another
  platform's skills dir to agents_home/skills/ (e.g. ~/.claude -> ~/.agents)
- On Windows, falls back to directory junction when symlink requires admin
- Add _create_skills_symlink() with _is_junction() helper for Windows
- Update playbook.toml.example with skill_link documentation
- Fix templates/README.md prompt example to be platform-agnostic
- Add 3 tests: symlink creation, idempotency, absence when unconfigured

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-16 13:16:32 +08:00
csh 452c6f58f9 feat(playbook): auto-inject AGENTS.md into CLAUDE.md
When any sync action runs and the target project already has a CLAUDE.md,
automatically insert @AGENTS.md / @AGENT_RULES.md import block so
Claude Code picks up the same rules as Codex without manual setup.

- Add sync_claude_md() called at end of sync_agents_template()
- Uses <!-- playbook:claude:start/end --> block markers for idempotent updates
- Skips if no CLAUDE.md exists (Codex users unaffected)
- Skips if @AGENTS.md already present (manual setups respected)
- Add 4 tests covering: no file, append, update block, already-referenced

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 17:16:35 +08:00
csh a2e3cb07de feat(playbook): add no_backup deploy controls
remove obsolete main_language placeholders and language summary template text

limit generated .agents guidance to configured langs and normalize AGENT_RULES trailing newlines

document install_skills no_backup behavior and refresh tests for deployment links and sync flows
2026-04-24 10:06:03 +08:00
csh 08ca87b74c 📦 deps(skills): add karpathy thirdparty sync 2026-04-23 09:31:45 +08:00
csh 96b705b00b 📝 docs(tsl): rebuild canonical syntax and routing manual 2026-04-22 16:59:20 +08:00
csh 94395056ea 🐛 fix(playbook): address reported repo issues
normalize Windows path-like TOML config values, regenerate .agents/index.md on sync, keep the SKILLS.md superpowers section route-only, and ignore generated Python cache dirs.

add regression coverage for load_config() and the standards sync behavior touched by these fixes.
2026-03-10 10:10:28 +08:00
csh 872c1afc24 🔧 feat(skills): install to agents home 2026-02-05 15:26:48 +08:00
csh 73d5c261b1 🔧 chore(playbook): split sync_templates into sections 2026-01-27 08:49:40 +08:00
csh 6efd637119 🐛 fix(sync): keep agents block blank lines 2026-01-26 09:34:44 +08:00
csh 0c4cd0e037 feat(actions): add install_skills and format_md 2026-01-23 14:40:08 +08:00
csh 3d1582ce9e feat(sync): add templates and standards actions 2026-01-23 14:37:55 +08:00
csh 49bbfa13e4 feat(vendor): add playbook snapshot generation 2026-01-23 14:30:30 +08:00
csh 8cfcc25f98 feat(cli): parse toml config and dispatch actions 2026-01-23 14:24:07 +08:00
csh 65d216ef52 test(cli): add basic playbook cli tests 2026-01-23 14:15:12 +08:00