Skip to content

Split TIL/spec boundary, add /update-spec skill, sharpen skill design#12

Merged
podmar merged 6 commits into
mainfrom
docs/til-spec-split
Jun 11, 2026
Merged

Split TIL/spec boundary, add /update-spec skill, sharpen skill design#12
podmar merged 6 commits into
mainfrom
docs/til-spec-split

Conversation

@podmar

@podmar podmar commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Decisions worth noting

  • API contract decisions moved from docs/til.md to docs/spec.md. TIL is for reusable patterns (FastAPI, SQLModel, async); spec is for homik-specific decisions (endpoint shape, merge vs reject, cascade behaviour). Mixed together, neither document serves its purpose well.

  • /update-spec skill created as a companion to /til. Running /til after a session now flags homik-specific decisions for /update-spec rather than absorbing them into the wrong document.

  • Skill files rewritten as imperative instructions, not documents. Headers and "when to use" sections are for human readers — at runtime, document structure makes Claude process scaffolding before reaching the actual instructions. Imperative voice ("do X", "skip if Y") is more directly actionable.

  • Sharpness rules added to both skills. "Skip if already covered" is more effective than "be concise" — naming the specific failure mode (padding, restating) outperforms stating a virtue. Each skill now names exactly how it can go wrong and blocks those paths.

  • confirm-before-write instruction added to file-writing skills. Without it, Claude writes first and the user reviews a diff after the fact. Draft → show → confirm → write keeps the user in control at the right moment.

  • skill-template.md added to .claude/prompts/. Used when asking Claude to create or revise a skill. Lives in prompts/ rather than CLAUDE.md because it's occasional — CLAUDE.md loads every session, so anything in it should be needed most sessions.

What's next

Integration tests PR.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation refactor looks clean. No technical concerns.

@claude

claude Bot commented Jun 11, 2026

Copy link
Copy Markdown

Review complete — no issues found.

This is a documentation refactor (moving API decisions from til.md to spec.md and creating the /update-spec skill). All changes are to documentation and tooling files — no production code touched, no security or data isolation concerns.

The new skill file follows good patterns: imperative instructions, confirm-before-write, explicit "nothing qualifies" guard.

✅ Ready to merge.

Cost: $0.18

@podmar
podmar merged commit a36cb5b into main Jun 11, 2026
1 check passed
@podmar
podmar deleted the docs/til-spec-split branch June 11, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant