@namewta/speculo 0.1.21 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -78
- package/dist/src/cli.js +57 -34
- package/dist/src/cli.js.map +1 -1
- package/dist/src/index.d.ts +1 -3
- package/dist/src/index.js +128 -168
- package/dist/src/index.js.map +1 -1
- package/dist/src/migrate.d.ts +38 -0
- package/dist/src/migrate.js +646 -0
- package/dist/src/migrate.js.map +1 -0
- package/dist/src/workflows.d.ts +7 -37
- package/dist/src/workflows.js +49 -123
- package/dist/src/workflows.js.map +1 -1
- package/package.json +6 -4
- package/template/.speculo/README.md +20 -0
- package/template/.speculo/workspace.json +12 -0
- package/template/commands/docs-sync.md +28 -0
- package/template/commands/finalize.md +37 -0
- package/template/commands/knowledge-prune.md +20 -0
- package/template/commands/retro.md +15 -8
- package/template/commands/status.md +8 -51
- package/template/skills/agents-md-builder/SKILL.md +14 -101
- package/template/skills/change-lifecycle/SKILL.md +25 -0
- package/template/{workflows/dev/_templates → skills/change-lifecycle/assets}/completion-summary-template.md +2 -2
- package/template/{workflows/dev/_templates → skills/change-lifecycle/assets}/completion-verification-template.md +1 -1
- package/template/skills/change-lifecycle/references/completion-gate.md +19 -0
- package/template/skills/change-lifecycle/references/finalize-archive.md +32 -0
- package/template/skills/docs-sync/SKILL.md +22 -0
- package/template/skills/docs-sync/assets/report-template.md +45 -0
- package/template/skills/docs-sync/assets/state-template.json +20 -0
- package/template/skills/docs-sync/assets/workflow-scope-template.json +9 -0
- package/template/skills/docs-sync/references/agents-contract.md +43 -0
- package/template/skills/docs-sync/references/changelog-contract.md +39 -0
- package/template/skills/docs-sync/references/document-lifecycle-contract.md +38 -0
- package/template/skills/docs-sync/references/git-state-contract.md +67 -0
- package/template/skills/docs-sync/references/readme-contract.md +44 -0
- package/template/skills/docs-sync/references/workflow-scope-contract.md +50 -0
- package/template/skills/github-npm-ops/SKILL.md +14 -39
- package/template/skills/github-npm-ops/references/failure-recovery.md +1 -1
- package/template/skills/github-npm-ops/references/preflight-checklist.md +1 -1
- package/template/skills/github-npm-ops/references/release-notes-injection.md +1 -1
- package/template/skills/github-npm-ops/references/release-pipeline.md +13 -13
- package/template/skills/github-npm-ops/references/version-bump-flow.md +3 -3
- package/template/skills/knowledge-prune/SKILL.md +29 -0
- package/template/skills/knowledge-prune/references/audit-rules.md +24 -0
- package/template/skills/runtime-context/SKILL.md +43 -0
- package/template/skills/runtime-context/references/path-resolution.md +32 -0
- package/template/skills/speculo-retro/SKILL.md +13 -37
- package/template/skills/speculo-retro/references/friction-taxonomy.md +3 -3
- package/template/skills/speculo-retro/references/issue-drafting-sop.md +3 -3
- package/template/skills/worktree-isolation/SKILL.md +10 -46
- package/template/skills/worktree-isolation/references/audit-branch-tree.md +2 -2
- package/template/skills/worktree-isolation/references/create-worktree.md +6 -6
- package/template/skills/worktree-isolation/references/merge-and-cleanup.md +5 -5
- package/template/vendor/README.md +11 -10
- package/template/vendor/matt-pocock/README.md +41 -0
- package/template/vendor/matt-pocock/engineering/README.md +28 -0
- package/template/vendor/matt-pocock/engineering/ask-matt/SKILL.md +76 -0
- package/template/vendor/matt-pocock/engineering/code-review/SKILL.md +89 -0
- package/template/vendor/matt-pocock/engineering/codebase-design/DEEPENING.md +37 -0
- package/template/vendor/matt-pocock/engineering/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/template/vendor/matt-pocock/engineering/codebase-design/SKILL.md +114 -0
- package/template/vendor/matt-pocock/engineering/diagnosing-bugs/SKILL.md +134 -0
- package/template/vendor/matt-pocock/engineering/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/template/vendor/matt-pocock/engineering/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/vendor/matt-pocock/engineering/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/vendor/matt-pocock/engineering/domain-modeling/SKILL.md +74 -0
- package/template/vendor/matt-pocock/engineering/grill-with-docs/SKILL.md +7 -0
- package/template/vendor/matt-pocock/engineering/implement/SKILL.md +15 -0
- package/template/vendor/matt-pocock/engineering/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/template/vendor/matt-pocock/engineering/improve-codebase-architecture/SKILL.md +66 -0
- package/template/vendor/matt-pocock/engineering/prototype/LOGIC.md +79 -0
- package/template/vendor/matt-pocock/engineering/prototype/SKILL.md +30 -0
- package/template/vendor/matt-pocock/engineering/prototype/UI.md +112 -0
- package/template/vendor/matt-pocock/engineering/research/SKILL.md +12 -0
- package/template/vendor/matt-pocock/engineering/resolving-merge-conflicts/SKILL.md +14 -0
- package/template/vendor/matt-pocock/engineering/setup-matt-pocock-skills/SKILL.md +127 -0
- package/template/vendor/matt-pocock/engineering/setup-matt-pocock-skills/domain.md +51 -0
- package/template/vendor/matt-pocock/engineering/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
- package/template/vendor/matt-pocock/engineering/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
- package/template/vendor/matt-pocock/engineering/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
- package/template/vendor/matt-pocock/engineering/setup-matt-pocock-skills/triage-labels.md +15 -0
- package/template/vendor/matt-pocock/engineering/tdd/SKILL.md +36 -0
- package/template/vendor/matt-pocock/engineering/tdd/mocking.md +59 -0
- package/template/vendor/matt-pocock/engineering/tdd/tests.md +77 -0
- package/template/vendor/matt-pocock/engineering/to-spec/SKILL.md +75 -0
- package/template/vendor/matt-pocock/engineering/to-tickets/SKILL.md +113 -0
- package/template/vendor/matt-pocock/engineering/triage/AGENT-BRIEF.md +204 -0
- package/template/vendor/matt-pocock/engineering/triage/OUT-OF-SCOPE.md +104 -0
- package/template/vendor/matt-pocock/engineering/triage/SKILL.md +112 -0
- package/template/vendor/matt-pocock/engineering/wayfinder/SKILL.md +127 -0
- package/template/vendor/matt-pocock/in-progress/README.md +10 -0
- package/template/vendor/matt-pocock/in-progress/claude-handoff/SKILL.md +18 -0
- package/template/vendor/matt-pocock/in-progress/loop-me/SKILL.md +32 -0
- package/template/vendor/matt-pocock/in-progress/wizard/SKILL.md +45 -0
- package/template/vendor/matt-pocock/in-progress/wizard/template.sh +211 -0
- package/template/vendor/matt-pocock/in-progress/writing-beats/SKILL.md +67 -0
- package/template/vendor/matt-pocock/in-progress/writing-fragments/SKILL.md +78 -0
- package/template/vendor/matt-pocock/in-progress/writing-shape/SKILL.md +79 -0
- package/template/vendor/matt-pocock/productivity/README.md +18 -0
- package/template/vendor/matt-pocock/productivity/grill-me/SKILL.md +7 -0
- package/template/vendor/matt-pocock/productivity/grilling/SKILL.md +12 -0
- package/template/vendor/matt-pocock/productivity/handoff/SKILL.md +16 -0
- package/template/vendor/matt-pocock/productivity/teach/GLOSSARY-FORMAT.md +35 -0
- package/template/vendor/matt-pocock/productivity/teach/LEARNING-RECORD-FORMAT.md +46 -0
- package/template/vendor/matt-pocock/productivity/teach/MISSION-FORMAT.md +31 -0
- package/template/vendor/matt-pocock/productivity/teach/RESOURCES-FORMAT.md +32 -0
- package/template/vendor/matt-pocock/productivity/teach/SKILL.md +140 -0
- package/template/vendor/matt-pocock/productivity/writing-great-skills/GLOSSARY.md +201 -0
- package/template/vendor/matt-pocock/productivity/writing-great-skills/SKILL.md +83 -0
- package/template/workflows/matt-pocock/WORKFLOW.md +145 -0
- package/template/workflows/matt-pocock/_state/status.json +5 -0
- package/template/workflows/matt-pocock/routes/architecture.md +24 -0
- package/template/workflows/matt-pocock/routes/diagnose.md +22 -0
- package/template/workflows/matt-pocock/routes/experimental.md +18 -0
- package/template/workflows/matt-pocock/routes/idea-to-delivery.md +63 -0
- package/template/workflows/matt-pocock/routes/merge-conflicts.md +19 -0
- package/template/workflows/matt-pocock/routes/productivity.md +25 -0
- package/template/workflows/matt-pocock/routes/research-prototype.md +20 -0
- package/template/workflows/matt-pocock/routes/review.md +19 -0
- package/template/workflows/matt-pocock/routes/setup.md +42 -0
- package/template/workflows/matt-pocock/routes/triage.md +25 -0
- package/template/workflows/matt-pocock/routes/wayfinder.md +27 -0
- package/template/workflows/person/M-mao-zedong-cognitive-os/M-mao-zedong-cognitive-os.md +74 -59
- package/template/workflows/person/M-mao-zedong-cognitive-os/activate.md +2 -2
- package/template/workflows/person/M-mao-zedong-cognitive-os/deliver.md +5 -5
- package/template/workflows/person/M-mao-zedong-cognitive-os/diagnose.md +2 -2
- package/template/workflows/person/M-mao-zedong-cognitive-os/mobilize.md +4 -4
- package/template/workflows/person/M-mao-zedong-cognitive-os/strategize.md +3 -3
- package/template/workflows/person/WORKFLOW.md +68 -0
- package/template/workflows/person/_state/.config/LESSONS.md +3 -0
- package/template/workflows/person/_state/.config/RULES.md +3 -0
- package/template/workflows/person/_state/changes/.gitkeep +1 -0
- package/template/workflows/person/_state/status.json +5 -0
- package/template/.speculo/.config/LESSONS.md +0 -9
- package/template/.speculo/.config/RULES.md +0 -11
- package/template/.speculo/AGENTS.md +0 -30
- package/template/.speculo/archive/AGENTS.md +0 -28
- package/template/.speculo/archive/dev/.gitkeep +0 -0
- package/template/.speculo/archive/person/.gitkeep +0 -0
- package/template/.speculo/dev/.gitkeep +0 -0
- package/template/.speculo/dev/docs-sync-state.json +0 -14
- package/template/.speculo/dev-status.json +0 -3
- package/template/.speculo/doc-status.json +0 -3
- package/template/.speculo/person/.gitkeep +0 -0
- package/template/.speculo/person-status.json +0 -1
- package/template/commands/archive.md +0 -68
- package/template/commands/caveman.md +0 -50
- package/template/commands/config-prune.md +0 -59
- package/template/commands/grill-me.md +0 -48
- package/template/commands/handoff.md +0 -59
- package/template/commands/scaffold-exercises.md +0 -56
- package/template/commands/write-a-skill.md +0 -52
- package/template/skills/caveman/SKILL.md +0 -38
- package/template/skills/caveman/references/compression-rules.md +0 -102
- package/template/skills/config-prune/SKILL.md +0 -44
- package/template/skills/config-prune/references/audit-rules.md +0 -38
- package/template/skills/grill-me/SKILL.md +0 -40
- package/template/skills/handoff/SKILL.md +0 -73
- package/template/skills/scaffold-exercises/SKILL.md +0 -41
- package/template/skills/scaffold-exercises/references/exercise-structure.md +0 -85
- package/template/skills/scaffold-exercises/references/lint-and-git.md +0 -54
- package/template/skills/speculo-write/SKILL.md +0 -56
- package/template/skills/speculo-write/references/asset-selection-sop.md +0 -67
- package/template/skills/speculo-write/references/authoring-quality-levers.md +0 -61
- package/template/skills/speculo-write/references/command-authoring-sop.md +0 -98
- package/template/skills/speculo-write/references/migration-sop.md +0 -101
- package/template/skills/speculo-write/references/persistence-contract-sop.md +0 -271
- package/template/skills/speculo-write/references/skill-authoring-sop.md +0 -212
- package/template/skills/speculo-write/references/validation-checklist.md +0 -85
- package/template/skills/speculo-write/references/workflow-authoring-sop.md +0 -165
- package/template/vendor/codebase-design/DEEPENING.md +0 -37
- package/template/vendor/codebase-design/DESIGN-IT-TWICE.md +0 -44
- package/template/vendor/codebase-design/SKILL.md +0 -114
- package/template/vendor/officecli/SKILL.md +0 -415
- package/template/vendor/resolving-merge-conflicts/SKILL.md +0 -14
- package/template/workflows/dev/01-grill-with-docs/01-grill-with-docs.md +0 -107
- package/template/workflows/dev/01-grill-with-docs/grill-context-scan.md +0 -30
- package/template/workflows/dev/01-grill-with-docs/grill-decision.md +0 -38
- package/template/workflows/dev/02-prd/02-prd.md +0 -70
- package/template/workflows/dev/02-prd/prd-synthesis.md +0 -30
- package/template/workflows/dev/02-prd/prd-zoom-out.md +0 -29
- package/template/workflows/dev/03-tdd/03-tdd.md +0 -55
- package/template/workflows/dev/03-tdd/agents/tdd-finish-agent.md +0 -34
- package/template/workflows/dev/03-tdd/agents/tdd-implement-agent.md +0 -34
- package/template/workflows/dev/03-tdd/agents/tdd-plan-agent.md +0 -34
- package/template/workflows/dev/03-tdd/mocking.md +0 -43
- package/template/workflows/dev/03-tdd/refactoring.md +0 -10
- package/template/workflows/dev/03-tdd/tdd-finish.md +0 -34
- package/template/workflows/dev/03-tdd/tdd-loop.md +0 -36
- package/template/workflows/dev/03-tdd/tdd-plan.md +0 -37
- package/template/workflows/dev/03-tdd/tests.md +0 -61
- package/template/workflows/dev/04-finalize/04-finalize.md +0 -57
- package/template/workflows/dev/04-finalize/agents/completion-gate-agent.md +0 -35
- package/template/workflows/dev/04-finalize/completion-gate.md +0 -41
- package/template/workflows/dev/04-finalize/finalize-archive.md +0 -55
- package/template/workflows/dev/A-improve-architecture/A-improve-architecture.md +0 -60
- package/template/workflows/dev/A-improve-architecture/HTML-REPORT.md +0 -123
- package/template/workflows/dev/A-improve-architecture/architecture-grill.md +0 -30
- package/template/workflows/dev/A-improve-architecture/architecture-review.md +0 -29
- package/template/workflows/dev/A-improve-architecture/architecture-scan.md +0 -37
- package/template/workflows/dev/AGENTS.md +0 -95
- package/template/workflows/dev/D-docs-sync/D-docs-sync.md +0 -140
- package/template/workflows/dev/D-docs-sync/agents/docs-diff-agent.md +0 -34
- package/template/workflows/dev/D-docs-sync/agents/docs-update-agent.md +0 -34
- package/template/workflows/dev/D-docs-sync/agents-contract.md +0 -95
- package/template/workflows/dev/D-docs-sync/changelog-contract.md +0 -155
- package/template/workflows/dev/D-docs-sync/config-contract.md +0 -75
- package/template/workflows/dev/D-docs-sync/docs-sync-diff.md +0 -86
- package/template/workflows/dev/D-docs-sync/docs-sync-finish.md +0 -37
- package/template/workflows/dev/D-docs-sync/docs-sync-state.md +0 -47
- package/template/workflows/dev/D-docs-sync/docs-sync-update.md +0 -44
- package/template/workflows/dev/D-docs-sync/knowledge-extract.md +0 -66
- package/template/workflows/dev/D-docs-sync/readme-contract.md +0 -124
- package/template/workflows/dev/D-docs-sync/state-json-schema.md +0 -172
- package/template/workflows/dev/H-diagnose/H-diagnose.md +0 -108
- package/template/workflows/dev/H-diagnose/agents/diagnose-agent.md +0 -33
- package/template/workflows/dev/H-diagnose/agents/fix-agent.md +0 -34
- package/template/workflows/dev/H-diagnose/diagnose-fix.md +0 -34
- package/template/workflows/dev/H-diagnose/diagnose-guide.md +0 -144
- package/template/workflows/dev/H-diagnose/diagnose-loop.md +0 -41
- package/template/workflows/dev/H-diagnose/scripts/hitl-loop.template.sh +0 -41
- package/template/workflows/dev/I-to-issues/I-to-issues.md +0 -79
- package/template/workflows/dev/I-to-issues/issues-slices.md +0 -211
- package/template/workflows/dev/M-domain-modeling/ADR-FORMAT.md +0 -74
- package/template/workflows/dev/M-domain-modeling/CONTEXT-FORMAT.md +0 -67
- package/template/workflows/dev/M-domain-modeling/M-domain-modeling.md +0 -102
- package/template/workflows/dev/R-review/R-review.md +0 -75
- package/template/workflows/dev/R-review/agents/engineering-review-agent.md +0 -33
- package/template/workflows/dev/R-review/agents/spec-review-agent.md +0 -34
- package/template/workflows/dev/R-review/agents/standards-review-agent.md +0 -34
- package/template/workflows/dev/R-review/code-quality-checklist.md +0 -118
- package/template/workflows/dev/R-review/removal-checklist.md +0 -53
- package/template/workflows/dev/R-review/review-axes.md +0 -61
- package/template/workflows/dev/R-review/review-setup.md +0 -111
- package/template/workflows/dev/R-review/review-verdict.md +0 -43
- package/template/workflows/dev/R-review/security-checklist.md +0 -126
- package/template/workflows/dev/R-review/solid-checklist.md +0 -73
- package/template/workflows/dev/_templates/diagnosis-template.md +0 -20
- package/template/workflows/dev/_templates/docs-sync-report-template.md +0 -45
- package/template/workflows/dev/_templates/docs-sync-state-template.json +0 -14
- package/template/workflows/dev/_templates/domain-model-log-template.md +0 -20
- package/template/workflows/dev/_templates/grill-context-map-template.md +0 -20
- package/template/workflows/dev/_templates/grill-decision-log-template.md +0 -20
- package/template/workflows/dev/_templates/issues-slices-template.md +0 -106
- package/template/workflows/dev/_templates/overview-template.md +0 -19
- package/template/workflows/dev/_templates/prd-template.md +0 -26
- package/template/workflows/dev/_templates/regression-template.md +0 -20
- package/template/workflows/dev/_templates/review-report-template.md +0 -30
- package/template/workflows/dev/_templates/review-sources-template.md +0 -33
- package/template/workflows/dev/_templates/review-verdict-template.md +0 -33
- package/template/workflows/dev/_templates/tdd-log-template.md +0 -23
- package/template/workflows/dev/_templates/tdd-plan-template.md +0 -35
- package/template/workflows/dev/_templates/tdd-verification-template.md +0 -26
- package/template/workflows/doc/AGENTS.md +0 -80
- package/template/workflows/doc/B-writing-beats/B-writing-beats.md +0 -79
- package/template/workflows/doc/B-writing-beats/writing-beats-append.md +0 -31
- package/template/workflows/doc/B-writing-beats/writing-beats-options.md +0 -29
- package/template/workflows/doc/E-edit-article/E-edit-article.md +0 -79
- package/template/workflows/doc/E-edit-article/edit-article-plan.md +0 -30
- package/template/workflows/doc/E-edit-article/edit-article-rewrite.md +0 -31
- package/template/workflows/doc/F-writing-fragments/F-writing-fragments.md +0 -80
- package/template/workflows/doc/F-writing-fragments/writing-fragments-interview.md +0 -32
- package/template/workflows/doc/F-writing-fragments/writing-fragments-log.md +0 -29
- package/template/workflows/doc/S-writing-shape/S-writing-shape.md +0 -81
- package/template/workflows/doc/S-writing-shape/writing-shape-block.md +0 -32
- package/template/workflows/doc/S-writing-shape/writing-shape-opening.md +0 -27
- package/template/workflows/doc/T-teach/T-teach.md +0 -64
- package/template/workflows/doc/T-teach/teach-lesson-wrap.md +0 -63
- package/template/workflows/doc/T-teach/teach-lesson.md +0 -53
- package/template/workflows/doc/T-teach/teach-mission.md +0 -33
- package/template/workflows/doc/T-teach/teach-resources.md +0 -36
- package/template/workflows/doc/_templates/edit-article-plan-template.md +0 -25
- package/template/workflows/doc/_templates/edit-article-template.md +0 -7
- package/template/workflows/doc/_templates/teach-glossary-template.md +0 -26
- package/template/workflows/doc/_templates/teach-learning-record-template.md +0 -38
- package/template/workflows/doc/_templates/teach-lesson-html-template.md +0 -24
- package/template/workflows/doc/_templates/teach-mission-template.md +0 -19
- package/template/workflows/doc/_templates/teach-resources-template.md +0 -18
- package/template/workflows/doc/_templates/writing-article-template.md +0 -7
- package/template/workflows/doc/_templates/writing-beat-options-template.md +0 -21
- package/template/workflows/doc/_templates/writing-fragments-template.md +0 -7
- package/template/workflows/doc/_templates/writing-interview-log-template.md +0 -21
- package/template/workflows/doc/_templates/writing-shape-log-template.md +0 -25
- package/template/workflows/person/AGENTS.md +0 -72
- /package/template/{.speculo/.config/adr → workflows/matt-pocock/_state/archive}/.gitkeep +0 -0
- /package/template/{.speculo/.config/context → workflows/matt-pocock/_state/changes}/.gitkeep +0 -0
- /package/template/{.speculo/archive/doc → workflows/person/_state/.config/context}/.gitkeep +0 -0
- /package/template/{.speculo/doc → workflows/person/_state/archive}/.gitkeep +0 -0
package/README.md
CHANGED
|
@@ -1,103 +1,93 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @namewta/speculo
|
|
2
2
|
|
|
3
|
-
>
|
|
4
|
-
> **SDD (Specification-Driven Development for AI)**
|
|
3
|
+
> Workflow-packaged specification-driven development assets with install, update, and migration tooling.
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
[](https://www.npmjs.com/package/@namewta/speculo)
|
|
8
|
-
[](./LICENSE)
|
|
9
|
-
[](./package.json)
|
|
5
|
+
Speculo packages AI coding workflows as installable assets — commands, skills, workflow packages, and vendor skill collections — delivered into any project via a unified CLI.
|
|
10
6
|
|
|
11
|
-
|
|
12
|
-
**核心原则:** 工具无关 · CLI 接入 · workflow 自治
|
|
7
|
+
## Quick Start
|
|
13
8
|
|
|
14
|
-
|
|
9
|
+
```bash
|
|
10
|
+
# Initialize Speculo in a target project
|
|
11
|
+
npx @namewta/speculo init
|
|
15
12
|
|
|
16
|
-
|
|
13
|
+
# Install all workflow packages
|
|
14
|
+
npx @namewta/speculo init --all
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
# Global install
|
|
17
|
+
npm install -g @namewta/speculo
|
|
18
|
+
speculo init [--all] [target]
|
|
19
|
+
```
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
After initialization, the target project's `speculo/` directory contains all core assets and selected workflow packages.
|
|
21
22
|
|
|
22
|
-
##
|
|
23
|
+
## Install
|
|
23
24
|
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
├── README.md
|
|
27
|
-
├── docs/ # 框架文档
|
|
28
|
-
├── src/ # speculo CLI
|
|
29
|
-
├── test/ # CLI 测试
|
|
30
|
-
└── template/ # 包内框架资产源
|
|
31
|
-
├── commands/ # 一次性独立命令
|
|
32
|
-
├── workflows/ # 多阶段工作流
|
|
33
|
-
├── skills/ # command 可调用的可复用 skill
|
|
34
|
-
├── vendor/ # 原生第三方 AgentSkills 收集目录
|
|
35
|
-
└── .speculo/ # 项目状态与产物骨架
|
|
25
|
+
```bash
|
|
26
|
+
npm install -g @namewta/speculo
|
|
36
27
|
```
|
|
37
28
|
|
|
38
|
-
|
|
29
|
+
Requires: Node.js ≥ 22.22.3
|
|
39
30
|
|
|
40
|
-
|
|
41
|
-
# 全局安装 CLI(npm 包名为 @namewta/speculo,命令名为 speculo)
|
|
42
|
-
npm install -g @namewta/speculo
|
|
31
|
+
## Commands
|
|
43
32
|
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
| Command | Description |
|
|
34
|
+
|---|---|
|
|
35
|
+
| `speculo init [--all] [target]` | Install or refresh Speculo core assets and selected workflow packages. Existing `speculo/.speculo/` state is never overwritten. |
|
|
36
|
+
| `speculo migrate [--apply] [target]` | Preview (or apply) migration from v2 or transitional v3 state to current v3 contract. Dry-run by default; `--apply` to perform the staged, rollback-safe migration. |
|
|
37
|
+
| `speculo update` | Deprecated. Delegates to `speculo init --all`. |
|
|
46
38
|
|
|
47
|
-
|
|
48
|
-
speculo init my-project
|
|
49
|
-
```
|
|
39
|
+
## Installed Runtime Assets
|
|
50
40
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
详见 [docs/adopting.md](docs/adopting.md)。
|
|
54
|
-
|
|
55
|
-
## 内置入口
|
|
56
|
-
|
|
57
|
-
- `workflows/dev/AGENTS.md`:开发工作流导航
|
|
58
|
-
- `workflows/dev/01-grill-with-docs/01-grill-with-docs.md`:领域澄清与决策拷问
|
|
59
|
-
- `workflows/dev/02-prd/02-prd.md`:全景理解与 PRD
|
|
60
|
-
- `workflows/dev/03-tdd/03-tdd.md`:TDD 实现
|
|
61
|
-
- `workflows/dev/I-to-issues/I-to-issues.md`:`dev/I` 垂直切片分解
|
|
62
|
-
- `workflows/dev/H-diagnose/H-diagnose.md`:`dev/H` hotfix / diagnose
|
|
63
|
-
- `workflows/dev/R-review/R-review.md`:`dev/R` Spec / Engineering / Standards 三维度 diff 审查
|
|
64
|
-
- `workflows/dev/M-domain-modeling/M-domain-modeling.md`:`dev/M` 主动领域建模,维护 CONTEXT 与 ADR
|
|
65
|
-
- `workflows/dev/A-improve-architecture/A-improve-architecture.md`:`dev/A` 架构深化机会扫描与 HTML 审查报告
|
|
66
|
-
- `workflows/dev/D-docs-sync/D-docs-sync.md`:`dev/D` 基于 git diff、归档产物和 `.config` 生命周期同步文档/知识资产
|
|
67
|
-
- `workflows/doc/AGENTS.md`:文档写作 workflow 导航
|
|
68
|
-
- `workflows/person/AGENTS.md`:人物方法论 workflow 导航
|
|
69
|
-
- `.speculo/AGENTS.md`:状态骨架、项目知识和归档的读取指引
|
|
70
|
-
- `.speculo/archive/AGENTS.md`:已完成 change 归档读取指引
|
|
71
|
-
- `commands/status.md`:聚合当前状态
|
|
72
|
-
- `commands/archive.md`:归档 completed change
|
|
73
|
-
- `commands/config-prune.md`:dry-run 审计 `.config` 过期知识资产
|
|
74
|
-
- `commands/{caveman,grill-me,handoff,write-a-skill,scaffold-exercises}.md`:生产力命令
|
|
75
|
-
- `commands/retro.md`:复盘 Speculo 使用痛点并经确认提改进 issue
|
|
76
|
-
|
|
77
|
-
## 开发
|
|
41
|
+
After initialization, the target project gains the following AI agent-callable assets:
|
|
78
42
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
43
|
+
### 5 Commands
|
|
44
|
+
|
|
45
|
+
| Command | Purpose |
|
|
46
|
+
|---|---|
|
|
47
|
+
| `docs-sync` | Clean workspace, sync project documentation from reproducible Git ranges |
|
|
48
|
+
| `finalize` | Completion gates, status finalization, and safe archiving |
|
|
49
|
+
| `knowledge-prune` | Dry-run audit of workflow knowledge namespaces |
|
|
50
|
+
| `retro` | Retrospective analysis with `gh issue` creation |
|
|
51
|
+
| `status` | Summary of installed workflows, active changes, and anomalies |
|
|
52
|
+
|
|
53
|
+
### 10 Skills
|
|
54
|
+
|
|
55
|
+
| Skill | Purpose |
|
|
56
|
+
|---|---|
|
|
57
|
+
| `agents-md-builder` | Multi-layer AGENTS.md / CLAUDE.md handbook tree builder |
|
|
58
|
+
| `change-lifecycle` | Change state transitions, verification, and archival |
|
|
59
|
+
| `config-prune` | Configuration namespace pruning |
|
|
60
|
+
| `docs-sync` | Core documentation audit and synchronization |
|
|
61
|
+
| `github-npm-ops` | GitHub issue/PR triage and npm operations |
|
|
62
|
+
| `knowledge-prune` | Knowledge namespace pruning |
|
|
63
|
+
| `runtime-context` | Path resolution for Speculo roots |
|
|
64
|
+
| `scaffold-exercises` | Exercise scaffolding |
|
|
65
|
+
| `speculo-retro` | Retrospective analysis |
|
|
66
|
+
| `worktree-isolation` | Git worktree isolation |
|
|
67
|
+
|
|
68
|
+
### 2 Workflow Packages
|
|
69
|
+
|
|
70
|
+
| Workflow | Routes | Description |
|
|
71
|
+
|---|---|---|
|
|
72
|
+
| **matt-pocock** | 10 | Route-first composition of Matt Pocock native skills (engineering + productivity) |
|
|
73
|
+
| **person** | 1 | Persona-methodology-based consulting workflow |
|
|
84
74
|
|
|
85
|
-
|
|
75
|
+
### Vendor Skill Collections
|
|
86
76
|
|
|
87
|
-
|
|
77
|
+
- **Matt Pocock skills** — Engineering (ask-matt, implement, wayfinder, tdd, code-review, diagnosing-bugs, prototyping, research, domain-modeling, codebase-design, triage, setup, to-spec, to-tickets, grill-with-docs, improve-codebase-architecture) and Productivity (grill-me, handoff, teach, writing-great-skills)
|
|
88
78
|
|
|
89
|
-
|
|
79
|
+
## Documentation
|
|
90
80
|
|
|
91
|
-
-
|
|
92
|
-
-
|
|
81
|
+
- [AGENTS.md](./AGENTS.md) — AI agent handbook (authoritative)
|
|
82
|
+
- [CHANGELOG.md](./CHANGELOG.md) — Release history
|
|
83
|
+
- [docs/](./docs/) — Authoring contracts for commands, skills, workflows, and persistence
|
|
84
|
+
- [.agents/skills/](./.agents/skills/) — Internal authoring tools for Speculo maintainers
|
|
85
|
+
- [README-ZH.md](./README-ZH.md) — 中文镜像
|
|
93
86
|
|
|
94
|
-
##
|
|
87
|
+
## Acknowledgments
|
|
95
88
|
|
|
96
|
-
|
|
97
|
-
- 架构原理:[Speculo-architecture.md](docs/Speculo-architecture.md)
|
|
98
|
-
- 机器契约:[persistence-contract.md](docs/persistence-contract.md)
|
|
99
|
-
- 扩展开发:[workflow-authoring.md](docs/workflow-authoring.md) · [skill-authoring.md](docs/skill-authoring.md) · [command-authoring.md](docs/command-authoring.md)
|
|
89
|
+
Inspired by and built upon [Matt Pocock Skills](https://github.com/mattpocock/skills) — the pioneering work that shaped AI-assisted development workflows. Speculo extends this foundation with package-based workflow management, persistence contracts, and a unified install/migrate lifecycle.
|
|
100
90
|
|
|
101
91
|
## License
|
|
102
92
|
|
|
103
|
-
[
|
|
93
|
+
MIT — see [LICENSE](./LICENSE)
|
package/dist/src/cli.js
CHANGED
|
@@ -2,36 +2,35 @@
|
|
|
2
2
|
import { dirname, resolve } from "node:path";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
import { initSpeculo } from "./index.js";
|
|
5
|
+
import { migrateSpeculo } from "./migrate.js";
|
|
5
6
|
function usage() {
|
|
6
7
|
return [
|
|
7
8
|
"Usage:",
|
|
8
9
|
" speculo init [--all] [target]",
|
|
10
|
+
" speculo migrate [--apply] [target]",
|
|
9
11
|
"",
|
|
10
12
|
"Commands:",
|
|
11
|
-
" init
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
13
|
+
" init Install or refresh Speculo core assets and selected workflow packages.",
|
|
14
|
+
" Existing workflow state under speculo/.speculo/ is never overwritten.",
|
|
15
|
+
" migrate Preview migration from v2 or transitional v3 state to the current v3 contract.",
|
|
16
|
+
" Pass --apply to perform the staged, rollback-safe migration.",
|
|
15
17
|
"",
|
|
16
18
|
"Options:",
|
|
17
|
-
" --all
|
|
18
|
-
"
|
|
19
|
-
" When omitted, vendor/ is merge-only — new skills are added but",
|
|
20
|
-
" existing ones are preserved. In a terminal without --all, an",
|
|
21
|
-
" interactive menu lets you pick which workflows to install or refresh."
|
|
19
|
+
" --all Select every workflow and fully refresh vendor assets during init.",
|
|
20
|
+
" --apply Apply a migration; without this flag migrate is always dry-run.",
|
|
22
21
|
].join("\n");
|
|
23
22
|
}
|
|
24
23
|
async function main(argv) {
|
|
25
|
-
// Parse --all flag (can appear anywhere in argv)
|
|
26
24
|
const allFlag = argv.includes("--all");
|
|
27
|
-
const
|
|
25
|
+
const applyFlag = argv.includes("--apply");
|
|
26
|
+
const positional = argv.filter((argument) => argument !== "--all" && argument !== "--apply");
|
|
28
27
|
const [command, targetArg, extra] = positional;
|
|
29
28
|
if (!command || command === "--help" || command === "-h") {
|
|
30
29
|
console.log(usage());
|
|
31
30
|
return command ? 0 : 1;
|
|
32
31
|
}
|
|
33
32
|
if (extra) {
|
|
34
|
-
console.error(
|
|
33
|
+
console.error("Unexpected argument: " + extra);
|
|
35
34
|
console.error(usage());
|
|
36
35
|
return 1;
|
|
37
36
|
}
|
|
@@ -39,40 +38,64 @@ async function main(argv) {
|
|
|
39
38
|
const packageRoot = resolve(dirname(fileURLToPath(import.meta.url)), "../..");
|
|
40
39
|
try {
|
|
41
40
|
if (command === "init") {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
console.log(`Speculo initialized in ${result.target}`);
|
|
45
|
-
for (const copied of result.copied ?? []) {
|
|
46
|
-
console.log(` copied ${copied}`);
|
|
47
|
-
}
|
|
41
|
+
if (applyFlag) {
|
|
42
|
+
throw new Error("--apply is only valid with `speculo migrate`.");
|
|
48
43
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
44
|
+
const result = await initSpeculo(target, {
|
|
45
|
+
packageRoot,
|
|
46
|
+
all: allFlag,
|
|
47
|
+
});
|
|
48
|
+
console.log(result.mode === "init"
|
|
49
|
+
? "Speculo initialized in " + result.target
|
|
50
|
+
: "Speculo updated in " + result.target);
|
|
51
|
+
for (const item of result.copied ?? result.updated ?? []) {
|
|
52
|
+
console.log(" " + (result.mode === "init" ? "copied " : "updated ") + item);
|
|
54
53
|
}
|
|
55
54
|
return 0;
|
|
56
55
|
}
|
|
57
|
-
if (command === "
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
if (command === "migrate") {
|
|
57
|
+
if (allFlag) {
|
|
58
|
+
throw new Error("--all is only valid with `speculo init`.");
|
|
59
|
+
}
|
|
60
|
+
const result = await migrateSpeculo(target, {
|
|
61
|
+
packageRoot,
|
|
62
|
+
apply: applyFlag,
|
|
63
|
+
});
|
|
64
|
+
if (!result.legacyDetected) {
|
|
65
|
+
console.log("No legacy Speculo state detected in " + result.target);
|
|
66
|
+
return 0;
|
|
67
|
+
}
|
|
68
|
+
console.log(result.applied
|
|
69
|
+
? "Speculo state migrated in " + result.target
|
|
70
|
+
: "Speculo migration preview for " + result.target);
|
|
71
|
+
for (const action of result.actions) {
|
|
72
|
+
const mapping = action.from
|
|
73
|
+
? action.from + (action.to ? " -> " + action.to : "")
|
|
74
|
+
: action.detail;
|
|
75
|
+
console.log(" " + action.kind + " " + mapping);
|
|
76
|
+
}
|
|
77
|
+
if (!result.applied) {
|
|
78
|
+
console.log("Dry-run only. Re-run with --apply to perform this migration.");
|
|
63
79
|
}
|
|
64
80
|
return 0;
|
|
65
81
|
}
|
|
66
|
-
|
|
82
|
+
if (command === "update") {
|
|
83
|
+
console.error("Warning: `speculo update` is deprecated. Use `speculo init`.");
|
|
84
|
+
const result = await initSpeculo(target, {
|
|
85
|
+
packageRoot,
|
|
86
|
+
all: true,
|
|
87
|
+
});
|
|
88
|
+
console.log("Speculo updated in " + result.target);
|
|
89
|
+
return 0;
|
|
90
|
+
}
|
|
91
|
+
console.error("Unknown command: " + command);
|
|
67
92
|
console.error(usage());
|
|
68
93
|
return 1;
|
|
69
94
|
}
|
|
70
95
|
catch (error) {
|
|
71
|
-
|
|
72
|
-
console.error(message);
|
|
96
|
+
console.error(error instanceof Error ? error.message : String(error));
|
|
73
97
|
return 1;
|
|
74
98
|
}
|
|
75
99
|
}
|
|
76
|
-
|
|
77
|
-
process.exitCode = exitCode;
|
|
100
|
+
process.exitCode = await main(process.argv.slice(2));
|
|
78
101
|
//# sourceMappingURL=cli.js.map
|
package/dist/src/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":"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"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { type WorkflowSelection } from "./workflows.js";
|
|
2
2
|
export type SpeculoCommandResult = {
|
|
3
3
|
target: string;
|
|
4
|
-
mode:
|
|
4
|
+
mode: "init" | "update";
|
|
5
5
|
copied?: string[];
|
|
6
6
|
updated?: string[];
|
|
7
7
|
};
|
|
8
8
|
export type SpeculoOptions = {
|
|
9
9
|
packageRoot?: string;
|
|
10
|
-
/** If true, install all workflows without prompting (--all equivalent). */
|
|
11
10
|
all?: boolean;
|
|
12
|
-
/** Explicit workflow selection for programmatic use (bypasses prompt). */
|
|
13
11
|
selection?: WorkflowSelection;
|
|
14
12
|
};
|
|
15
13
|
export declare function initSpeculo(targetArg?: string, options?: SpeculoOptions): Promise<SpeculoCommandResult>;
|