When to use
Use this skill whenever creating execution plans, validation notes, migration reports, or ad hoc investigation artifacts.
Rules
- Plans must live in
$OPENCODE_CONFIG_DIR/plans/. - Reports must live in
$OPENCODE_CONFIG_DIR/reports/. - Do not create repo-local plan/report files by default.
Workflow
- Resolve config directory:
printenv OPENCODE_CONFIG_DIR
- Write artifacts only under config dirs.
- Before commit, run scope check:
git diff --name-only --cached
- If repo-local artifacts were accidentally added, remove them before merge.
Typical accidental files to reject
plans/*.mdin repo root- root-level
*VALIDATION*.md,*REPORT*.md,*MIGRATION*.md - temporary smoke logs under tracked directories
Report template
Always report:
- Artifact file paths created under
$OPENCODE_CONFIG_DIR - Confirmation that repo-local artifacts were not added (or were removed)
