cp-skill-write-multistage

Solid

Write or substantially rebuild one consequential KB artifact through a source-first, multi-stage workshop before promotion. Use when claims still need grounding or synthesis; avoid it for settled local edits.

AI & Automation 83 stars 10 forks Updated yesterday CC-BY-4.0

Install

View on GitHub

Quality Score: 88/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# cp-skill-write-multistage ## EXECUTE NOW **Target and inputs: $ARGUMENTS** Develop one substantive KB artifact through independent reconstruction, a claim skeleton, drafting, audit, and reconciliation. Keep every intermediate artifact under one `kb/work/` workshop. Do not add workflow-state fields to the target artifact's frontmatter, and do not write the target until promotion. This workflow requires fresh sub-agent contexts. If the runtime cannot create them, initialize the workshop, record the limitation, and stop before source reconstruction. Do not imitate source-first independence in a context that has already read the incumbent draft. ## Step 1 - Resolve The Target And Contract Determine whether this is: - **Edit mode:** `$ARGUMENTS` identifies one existing Markdown artifact. - **New-write mode:** `$ARGUMENTS` identifies a collection, type, topic, or intended path. Resolve the target collection to a directory under `kb/` with a local `COLLECTION.md`, and read that file in full. In edit mode, read `type:` from the incumbent frontmatter and open that type specification. If the file has frontmatter but no `type:`, stop and repair that structural problem first. If it has no frontmatter, treat it as implicit `text`; do not invent a type or type specification. In new-write mode, default an unspecified collection and type to `kb/notes/` and `kb/types/note.md`. Confirm that the collection's `## Types` section offers the selected type. If a requested shorthand type ...

Details

Author
zby
Repository
zby/commonplace
Created
5 months ago
Last Updated
yesterday
Language
Python
License
CC-BY-4.0

Similar Skills

Semantically similar based on skill content — not just same category