ckb/.agents/skills/ckb-module/references/edge-cases.md
Michał Kopeć 7863115b74 Template 1.10.0: slim skills, review fixes, docs/, tests, retrieval script
- Skills: descriptions cut to routing-hint length (1925w -> 840w), Trigger
  phrases removed, Purpose collapsed, Edge cases moved to references/.
- Rule B names the decisions-log exception; "Sync the wiki" trigger dropped;
  reserved sections "Four" -> "Three"; directory contract adds ckb.yaml,
  docs/, tests/.
- MANUAL/CHANGELOG/OPENSPEC (EN+PL) moved to docs/; template ADRs D-0001 and
  D-0002 restored from 0c06cb6 into docs/decisions/; referrers repointed.
- ckb-retrieve: rank fusion moved into scripts/retrieve_candidates.py;
  Purpose states the one write it owns (query-gaps).
- tests/: fixture KB, golden JSON, smoke.sh.
- Scaffold: overview.md describes content not schema; graph/index.md names
  base skills only; query-gaps.md loses its self-rotting freshness window.
- README/MANUAL/OPENSPEC/CHANGELOG ghost-writer pass in both languages.
- VERSION 1.9.0 -> 1.10.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 20:45:09 +02:00

1.1 KiB

ckb-module — edge cases

Reference material for the ckb-module skill. Read when a run hits an unusual situation the main steps don't cover.

  • A module directory with no module.yaml — not a module. Report it as malformed; don't try to infer its contents from its file layout.
  • The user asks for a capability no module provides — say so, and don't install a near-match hoping it fits. Offer to note it in wiki/query-gaps.md.
  • ckb-upgrade brought a newer version of an installed module — the installed skill copies are stale. Offer to reinstall; show what changed before doing it.
  • Markers missing at uninstall (someone hand-edited AGENTS.md) — don't guess at the block's boundaries. Show the fragment and ask the user to remove it, or point at exactly what to delete.
  • A module's skill was renamed upstream — treat as collision (Step 2), ask. Don't delete the old name automatically.

Licensed under the Apache License, Version 2.0 — see LICENSE at the repository root, or http://www.apache.org/licenses/LICENSE-2.0.