local-files
Development-file storage rule for skills that write plans, reports, specs, handovers, or work ledgers. Names the directories Quiver writes and how each one is kept out of git on first write, unless the directory is already tracked or the project says to track it.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- local-files
- description
- Development-file storage rule for skills that write plans, reports, specs, handovers, or work ledgers. Names the directories Quiver writes and how each one is kept out of git on first write, unless the directory is already tracked or the project says to track it.
- user-invocable
- false
02 资源文件 1
- 参考文档TEST-PLAN.md2.2 KB
03 SKILL.md 正文
Local Development Files
Reference skill read by every skill that writes into one of the directories below, at its write step. It is never invoked and never runs a command itself: the writer applies the rule here before its own first write.
Directories
| Directory | Written by |
|---|---|
.claude/plans/ |
/plan, /quiver:design (with assets/ for its screenshots), /ship |
.claude/reports/ |
/quiver:review (default location only), /senior-review, /ship |
.claude/specs/ |
/brainstorm, /ship (one spec per phase), and visual-companion mockups copied beside a spec |
.claude/handovers/ |
/handover, the PreCompact hook |
.claude/work/ |
/work and its orchestrator |
.claude/ship/ |
/ship |
A review written to a path the user chose with --output or --set-output is the user's location, not one of these, and the rule does not apply to it.
Keep-Local Rule
Apply once per directory per run, before the first write into it. <dir> is the directory's path relative to the project root, with no trailing slash.
-
Outside a git repository (
git rev-parse --git-dirfails), do nothing. -
When
git ls-files <dir>prints anything, or the project's instructions (CLAUDE.md,AGENTS.md, or equivalent) say to track the directory, change nothing. Tracked files mean the project chose to keep them in git. -
Otherwise, when
git check-ignore -q <dir>/xexits 1, the directory is not ignored yet. When the exclude file already holds the exact line<prefix><dir>/, change nothing and print nothing: a.gitignorenegation such as!<dir>/outranks the exclude file, socheck-ignorekeeps exiting 1 after the entry is in. Otherwise append the line<prefix><dir>/to the file printed bygit rev-parse --git-path info/exclude, creating the file if it is missing.<prefix>is whatgit rev-parse --show-prefixprints, empty at the repo top: exclude patterns are relative to the repo top, and the project root can sit below it. When the file exists and does not end in a newline, write a newline first so the new line does not join the user's last line. Append, never rewrite: the file may hold the user's own lines. Then print:Keeping <dir>/ out of git (added to .git/info/exclude).
-
When
git check-ignore -q <dir>/xexits 0, the directory is already ignored; change nothing and print nothing. Any other exit, such as 128 when<dir>sits behind a symbolic link, is an error rather than an answer; change nothing and print nothing.
.git/info/exclude lives in the shared git directory, so one entry covers every worktree, and it changes no tracked file. git check-ignore honors it, so a second run finds the directory ignored and stays silent.
For Skill Authors
A skill that writes into one of these directories names this file at its write step, in one sentence: "Before the first write, apply the keep-local rule in skills/local-files/SKILL.md." Never restate the rule in the consumer; a copy drifts from this one with no error. A new development directory is added to the table above in the same change that adds its writer.
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.