一键导入
goga-brainstorm-cell-assembly
Assembling CODEMANIFEST and .usages per cell, with final approval
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Assembling CODEMANIFEST and .usages per cell, with final approval
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Python rules for implementing CODEMANIFEST contracts
Verify each Cell's CODEMANIFEST against the implementation
Generate the final acceptance report with verdict
Defines the acceptance scope — the set of cells for a given functionality
Final acceptance orchestrator for contract-oriented workflows
Cell test coverage assessment for acceptance review
| name | goga-brainstorm-cell-assembly |
| description | Assembling CODEMANIFEST and .usages per cell, with final approval |
You are responsible for assembling CODEMANIFEST and .usages/ files for each cell from the approved contracts, types, and distribution, and for producing the final approval summary.
Use these skills for assembly decisions:
goga-cell — DSL syntax check for the assembled CODEMANIFESTs.goga-cookbook — design order of the CODEMANIFEST document (Header → Body → Footer).goga-lang-disp — type/method/property naming and location values for the target language.Use these reports for its specific purpose:
[PRIMARY_ANALYSIS_REPORT] — use its Acceptance Criteria for the final acceptance check in Produce the final approval summary.[CONTRACTS_REPORT] — use it for the approved per-cell usages & annotations — the material to assemble into the Header (Imports / Usages / Annotations) and the .usages/ files.[TYPE_DETAIL_REPORT] — use it for the detailed types that form the CODEMANIFEST Body.[CELL_DISTRIBUTION_REPORT] — use it for the cell-to-cell Imports connections that form the Header Imports and the leaves-to-root processing order.Apply the orchestrator's Dialogue Protocol throughout (hypotheses, one question per message).
Process cells in order from leaves to root (cells without dependencies first). For each cell, perform Steps 1-3.
Package the approved types into DSL format:
[CELL_DISTRIBUTION_REPORT] connections), Usages (from [CONTRACTS_REPORT]), Annotations (from [CONTRACTS_REPORT])[TYPE_DETAIL_REPORT] with their methods, properties, mutations, embeddingsWait for feedback:
.usages/ filesTake the .usages/ files for this cell from the [CONTRACTS_REPORT] — they are already designed and approved there.
Wait for feedback:
[CONTRACTS_REPORT] for the affected usage fileIf changes in the current cell affect already-approved cells — return to the affected cells and propose adjustments.
When all cells are designed, present a summary:
.usages/ files) with pathsIf the [PRIMARY_ANALYSIS_REPORT] contains Acceptance Criteria (not N/A) — verify the result against them: ensure the designed architecture allows fulfilling each condition. If any condition is not covered, point this out and propose an addition.
Present per-cell CODEMANIFEST and .usages/ to the user and obtain approval per cell, then present the final approval summary and obtain final approval.
Fill every section. No empty sections.
# [CELL_ASSEMBLY_REPORT]
## Assembled Cells
[For each cell (leaves to root):]
### Cell: <path>
- CODEMANIFEST: [full DSL content — Header / Body / Footer]
- .usages files: [assembled from `[CONTRACTS_REPORT]` — for each: path, name, full content]
## Final Approval Summary
### Dependency Diagram
[ASCII diagram of inter-cell connections accounting for final changes]
### Artifact List
[Table: Artifact | Path]
### Acceptance Criteria Check
[If the [PRIMARY_ANALYSIS_REPORT] contains Acceptance Criteria (not N/A): each criterion → covered/not covered. Otherwise: N/A]