@rpamis/comet 0.2.2 → 0.2.3

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 CHANGED
@@ -15,6 +15,16 @@
15
15
 
16
16
  OpenSpec handles **WHAT** (outlines, proposals, spec lifecycle, archiving). Superpowers handles **HOW** (technical design, planning, execution, wrap-up). Comet chains both into a five-phase automated pipeline.
17
17
 
18
+ ## Why Comet
19
+
20
+ OpenSpec excels at managing requirements, creating proposals, managing Spec lifecycles, and archiving, but its proposals and tasks lack the detail of Superpowers brainstorming.
21
+
22
+ Superpowers generates Spec documents after brainstorming, but these documents typically lack stateful design — after completing requirements, Specs only have tasks checked off in the document, and Agents even forget to check them off. This causes the Agent to re-examine documents and project code to verify on resumption, wasting many tokens.
23
+
24
+ **Comet combines the strengths of both**, integrating the core workflow into 5 phases
25
+
26
+ The main entry `/comet` supports current Spec state detection, suitable for long tasks — after completing and closing CC midway, just `/comet continue` and Comet will automatically read the active Spec (lists multiple for selection), dynamically identify which phase is currently executing, and continue.
27
+
18
28
  ## Install
19
29
 
20
30
  ```bash
@@ -38,6 +48,23 @@ comet init
38
48
  6. Deploy Comet skills (in your chosen language) to selected platforms
39
49
  7. Create `docs/superpowers/specs/` and `docs/superpowers/plans/` working directories
40
50
 
51
+ ## Screenshots
52
+
53
+ <p align="center">
54
+ <img src="img/select-platform.png" alt="Platform Selection" width="600">
55
+ </p>
56
+ <p align="center">Supports Chinese & English Skill distribution, 28 AI Coding platforms</p>
57
+
58
+ <p align="center">
59
+ <img src="img/init.png" alt="Initialization" width="600">
60
+ </p>
61
+ <p align="center">Auto-install OpenSpec & Superpowers, one-click dev environment setup</p>
62
+
63
+ <p align="center">
64
+ <img src="img/skill-comet.png" alt="Skill Execution" width="600">
65
+ </p>
66
+ <p align="center">Multi-phase Skill entry, auto-detects current Spec stage, auto-triggers core flow, manual review at key nodes</p>
67
+
41
68
  ## Commands
42
69
 
43
70
  | Command | Description |
@@ -164,15 +191,21 @@ Comet uses a decoupled state architecture with separate YAML files:
164
191
  | `.comet.yaml` | Comet | Workflow phase, execution mode, verification status |
165
192
 
166
193
  **Key Fields in `.comet.yaml`:**
167
- - `workflow`: `full`, `hotfix`, or `tweak`
168
- - `phase`: `design`, `build`, `verify`, `archive`
169
- - `design_doc`: Path to Superpowers Design Doc
170
- - `plan`: Path to implementation plan
171
- - `build_mode`: `subagent-driven-development`, `executing-plans`, or `direct`
172
- - `isolation`: `branch` or `worktree`, workspace isolation method
173
- - `verify_mode`: `light` or `full`
174
- - `verify_result`: `pending`, `pass`, or `fail`
175
- - `archived`: Boolean indicating if change is archived
194
+
195
+ ```yaml
196
+ workflow: full
197
+ phase: build
198
+ design_doc: docs/superpowers/specs/YYYY-MM-DD-topic-design.md
199
+ plan: docs/superpowers/plans/YYYY-MM-DD-feature.md
200
+ build_mode: subagent-driven-development
201
+ isolation: branch
202
+ verify_mode: light
203
+ verify_result: pending
204
+ verified_at: null
205
+ archived: false
206
+ ```
207
+
208
+ All states and execution phases are updated via scripts, and **each phase verifies that tasks are truly completed before exiting — conditions are met before the phase exits and state is updated**. Compared to recording complex state management mechanisms in Skills, the script approach strongly guarantees the reliability of core state transitions, correctness of YAML files, and convenience of breakpoint recovery — Agents only need to use Comet's built-in commands to read state and know the current Spec's situation.
176
209
 
177
210
  ### Reliability Features
178
211
 
@@ -231,6 +264,16 @@ your-project/
231
264
  └── plans/ # Implementation plans
232
265
  ```
233
266
 
267
+ ## What You'll Learn
268
+
269
+ Many excellent Skill projects exist in the current Skill market, but they generally have preference issues — users may only like some features. For example, when using both OpenSpec and Superpowers, one might only use OpenSpec's Spec management capabilities, but prefer Superpowers' TDD-driven approach for coding.
270
+
271
+ Long-term Skill users know these capabilities can be freely combined, but exactly how to do so still requires real practice. The Comet project can serve as a reference:
272
+
273
+ - **How to reliably trigger nested Skills** — Not letting the Agent rely on document descriptions to perform "look-alike Skill trigger" operations (like writing files based on Skill descriptions), but truly triggering Skills (key feature: Skill trigger prints on CC). Comet will trigger many capabilities from OpenSpec and Superpowers — how is this Prompt written?
274
+
275
+ - **How to make combined Skills multi-phase auto-flow** — Not relying on manual intervention. Comet's 5-phase flow automatically triggers Skills for core processes except necessary user selections, while the **state machine mechanism** also ensures state transition reliability.
276
+
234
277
  ## Development
235
278
 
236
279
  ```bash
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.3",
3
3
  "skills": [
4
4
  "comet/SKILL.md",
5
5
  "comet/scripts/comet-guard.sh",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: comet-build
3
- description: "Comet Phase 3: Plan and Build. Invoke with /comet-build. Create plans and execute implementation through subagent-driven-development."
3
+ description: "Comet Phase 3: Plan and Build. Invoke with /comet-build. Create plans and choose execution method (subagent or direct) for implementation."
4
4
  ---
5
5
 
6
6
  # Comet Phase 3: Plan and Build (Build)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: comet-build
3
- description: "Comet 阶段 3:计划与构建。用 /comet-build 调用。制定计划并通过 subagent-driven-development 执行实施。"
3
+ description: "Comet 阶段 3:计划与构建。用 /comet-build 调用。制定计划并选择执行方式(subagent 或直接执行)实施。"
4
4
  ---
5
5
 
6
6
  # Comet 阶段 3:计划与构建(Build)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpamis/comet",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "OpenSpec + Superpowers dual-star development workflow",
5
5
  "keywords": [
6
6
  "comet",