skills/place-fact/SKILL.md
Route a kept fact to its durable home by delivery trigger and most-local-wins — across in-file comment, nested CLAUDE.md, path-scoped rule, root CLAUDE.md, ARCHITECTURE.md, or a skill. TRIGGER when: user asks 'where should this go', 'which file/rule/home does this belong in', 'is this in the right place', 'should this be a pointer'; placing or re-homing a fact already judged worth keeping.
npx skillsauth add preetamnath/agent-skills place-factInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Primitive: PLACE — which durable home does this fact belong in?
Name the delivery trigger — the moment a future agent must already hold the fact. The trigger, not the topic, picks the home.
Map trigger → home:
| Trigger — when the agent must already hold the fact | Home |
|---|---|
| Every session; must survive /compact | Root CLAUDE.md; unscoped .claude/rules/*.md |
| Agent reads or edits a matching file | In-file comment; path-scoped .claude/rules/*.md; nested CLAUDE.md |
| Task spans modules: design or cross-module debug | Root ARCHITECTURE.md |
| External SDK / platform work | Skill, bundled with procedure |
A skill is a home only for external-platform knowledge fused with procedure (fetch-the-docs → validate steps). Repo-internal facts have no description to match and no procedure to bundle — never a skill.
Not homes: module architecture.md and *-quirks.md — no auto-load trigger, no write-path, so they drift. Decompose instead: per-file fact → in-file comment; module invariant → path-scoped rule or nested CLAUDE.md; quirk catalog → a path-scoped rule on the affected globs (or the platform skill if SDK-specific).
Within "reads or edits a matching file," take the most-local home the feature's shape allows:
CLAUDE.md — a clean single-folder module where the folder is the feature boundary; covers new-file Write inside it.Write.Confirm a write-path backs the home — route only to homes a workflow maintains, not orphan files.
Check loading mechanics against the trigger:
CLAUDE.md and unscoped rules load eagerly and re-inject after /compact.CLAUDE.md and path-scoped rules are lost on /compact, re-arm on the next matching read.Write — a convention a not-yet-written file must satisfy needs the directory's CLAUDE.md.ARCHITECTURE.md isn't auto-discovered; an @path import is eager (full-cost every session), not a lazy pointer.paths: list of quoted globs ("**/*.md"); unquoted patterns starting with * or { break YAML.Pointer rule — emit a pointer only to a target that won't auto-load on the trigger the reader is already on, and only when it carries a must-know-before-you-touch obligation:
CLAUDE.md → an ARCHITECTURE.md section or a skill — neither auto-loads.CLAUDE.md → a rule, only when the rule's glob is deliberately narrower than the files the obligation touches (a cross-layer audit contract, or the new-file-Write gap):
CLAUDE.md → CLAUDE.md, or a folder→owner map — those auto-load on touch; the map only rots on rename.One fact, one home; no home restates another. If two homes tempt you, the fact is two facts or you named the wrong trigger.
development
Judge whether a candidate fact earns a durable-doc line: keep only what a future agent would get the wrong answer without; cut anything derivable from code, setup, breadcrumb, or a restated default. TRIGGER when: user asks 'does this belong in CLAUDE.md / a rule / the docs', 'is this worth keeping/writing down', 'should this be a comment'; vetting or pruning a fact before it's filed or shaped.
testing
Audit one instruction file by composing the durable-instruction lenses over it — vet-fact (WORTH: does each fact earn a line?), place-fact (PLACE: is it in the right home?), tighten-instruction (SHAPE: tighten the line). Pick the subset the file needs: shape-only, worth+shape, or worth+place+shape. A misplaced fact can be relocated to its right home on your approval, or deferred for a durable-docs-update batch. TRIGGER when: user wants a skill file or durable doc (CLAUDE.md, a rule, ARCHITECTURE.md) audited for what to keep, where it belongs, and how it reads; user says 'refine/audit this file', 'prune and tighten this doc', 'what here is worth keeping'. For shape-only tightening, tighten-file is the leaner sibling.
development
Sequence a locked spec into dependency-ordered, wave-grouped tasks. TRIGGER when: user says 'build the plan' or 'sequence this'; a spec needs slicing into parallel-safe waves.
testing
Turn a locked product/UX spec into technical design — the HOW: architecture, data shapes, signatures, file layout. TRIGGER when: user asks how to implement a spec'd feature; user wants architecture, data-shape, or file-layout decisions; user says 'tech design' or 'design the implementation'.