0018 — factory/write-skill (bootstrap skill) #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type: HITL
Parent PRD:
docs/prd/chunk-3-skills-library.mdWhat to build
Phase 1:
write-skillBuild
write-skill— the second bootstrap skill. Once complete, it is used to author all subsequent SKILL.md files in Chunk 3.Trigger description (from skills index): "Write a new skill for X, create a SKILL.md that does Y"
Key constraints:
docs/notes/skill-implementation-workflow.md.agents/skills/write-skill/SKILL.md;metadata.category: factorywrite-eval(issue 0017)Phase 2:
write-docsBuild
write-docs— the first skill authored viawrite-skillitself (the factory eating itself for the first time). Implement immediately after phase 1 is complete and deployed.Trigger description (from skills index): "Write documentation for X, document this module, create docs for this feature"
Key constraints:
.agents/skills/write-docs/SKILL.md;metadata.category: implementwrite-skill; eval viawrite-evaldocs/notes/skill-implementation-workflow.md(sub-agents for discovery, review, conflict check)Phase 3: Documentation convention
Define the canonical documentation convention for this repo — the missing input that
write-docscurrently defers to "user-specified or conventionally appropriate path." Without this, everywrite-docsinvocation requires the user to re-decide where output goes.Opening action:
/grill-mesession to resolve the convention before writing anything.Questions the grill must resolve:
docs/own all prose, or do modules carry their own READMEs?)write-docsneed to be updated after the convention is defined, or does it reference it at runtime?Expected outputs:
docs/notes/doc-convention.md— the convention document (file/folder/content structure, per-type rules, override model)write-docsSKILL.md output format section — reference the convention instead of deferring to "conventionally appropriate path"CONTEXT.mdif the convention becomes a standing repo-level principleNo new SKILL.md for this phase — this is a convention document, not a skill. If
write-docsneeds substantial changes after the grill, useupgrade-skill.Acceptance criteria
.agents/skills/write-skill/SKILL.mdexists;metadata.category: factory; authoring standard met.agents/evals/factory/write-skill/eval.yamlexists; produced viawrite-evalinstall.shdeployswrite-skillto~/.agents/skills/write-docs) is the first skill produced end-to-end by the factorydocs/spec/overview.mdupdated to reflect both skills deployed.agents/skills/write-skill/SKILL-TEMPLATE.mdexists.agents/skills/write-skill/META-TEMPLATE.mdexists.agents/skills/write-skill/CATEGORIES.mdexists.agents/skills/write-skill/META.mdexistswrite-skill/SKILL.mdrewritten — 6 sections, XML blocks, 3-field frontmatterdocs/notes/skill-implementation-workflow.mdupdated/grill-mesession completed; grill output committeddocs/notes/doc-convention.mdwritten and committedwrite-docsSKILL.md output format updated to reference the conventionCONTEXT.mdupdated if convention becomes a standing principleBlocked by
write-evalneeded to produce the eval for this skill)Handoff — Phase 1 & 2
Status: complete (Phases 1 and 2); Phase 3 pending
Files produced:
.agents/skills/write-skill/SKILL.md.agents/evals/factory/write-skill/eval.yaml.agents/skills/write-docs/SKILL.md.agents/evals/implement/write-docs/eval.yaml.agents/skills/write-skill/SKILL-TEMPLATE.md.agents/skills/write-skill/META-TEMPLATE.md.agents/skills/write-skill/CATEGORIES.md.agents/skills/write-skill/META.md