popcornboom/shadowdocumentdotmd/shadow-document
Claude Code and agent skill by popcornboom/shadowdocumentdotmd
- community
Checking that the SKILL.md file is still in the repository.
Maintain a project's `.shadow` mirror memory so future agents preserve non-obvious design philosophy, semantic constraints, and custom architectural intent. Use when an agent is reading, adding, editing, or deleting important project files such as core, store, domain, interface, or boundary code, or when a file carries non-obvious semantics that should be preserved in a matching `.shadow\...md` thought record.
Install
npx vskill@latest install popcornboom/shadowdocumentdotmd/shadow-documentSKILL.md
The same SKILL.md was published earlier as popcornboom/shadowdocumentdotmd/shadow-document.
Shadow Document
Use this skill to maintain a project's thought guardrails, not to summarize files.
Core Contract
- Treat
.shadow\at the project root as the only valid storage location for shadow documents. - Ensure
.shadow\exists immediately when the skill is invoked. Create it if it does not exist. - Mirror real paths exactly. If the real file is
src\core\useCoreStore.ts, the shadow file must be.shadow\src\core\useCoreStore.ts.md. - Store only the non-obvious ideas that a new agent would likely miss from code alone.
- Never turn
.shadowinto a documentation site, comment dump, or line-by-line file summary.
What Belongs In A Shadow File
Record only high-value project intent such as:
- why this abstraction exists at all
- what semantic meaning must not be weakened or renamed casually
- what architectural boundary must stay intact
- what tradeoff was chosen and what simpler-looking rewrite would break
- what domain assumption, workflow rule, or product philosophy is easy to violate
- what future agents must preserve before extending the file
Do not record:
- obvious implementation details visible in code
- mechanical summaries of functions, types, or imports
- generic best practices that are not project-specific
- change logs or task history unless the history explains current design intent
When To Read Or Update .shadow
Before changing an important file, first look for its matching .shadow\...md.
Treat a file as important when it carries dense intent, for example:
- architecture boundaries
- core store or state semantics
- domain models and invariants
- non-obvious interface contracts
- project-specific abstractions
- code that future agents are likely to "simplify" incorrectly
Apply these rules during normal work:
- Create a shadow file when a new important file introduces new philosophy, boundary rules, or semantic constraints.
- Update a shadow file when the real design intent changes, not merely when implementation details change.
- Leave the shadow file untouched when refactors preserve the same core intent.
- Remove the shadow file when the real file is removed and its unique intent is no longer carried elsewhere.
- Consult the shadow file before modifying important code so implementation follows the stored intent.
Writing Style
- Write concise Chinese by default unless the project clearly operates in another language.
- Prefer short paragraphs or tight bullet lists.
- Optimize for transfer of judgment, not completeness.
- Preserve existing project vocabulary and meanings.
- When updating an existing shadow file, revise conservatively and keep valid prior intent unless the code truly changed it.
Operating Loop
- Resolve the project root and ensure
.shadow\exists there. - Identify the real file being inspected or changed.
- Map it to the exact
.shadow\...mdpath. - Read the existing shadow file first if it exists.
- Decide whether to create, keep, update, or remove the shadow file based on whether non-obvious intent changed.
- Write only the smallest useful thought record that will keep a future agent from violating the design philosophy.
Quality Bar
If the shadow note could be replaced by "this file manages X" or by a code summary, it is too weak.
A good shadow note should help a fresh agent answer questions like:
- what should not be "simplified" here
- which naming or boundary decisions are intentional
- what hidden semantic promise this file is making
- what kind of change would look reasonable in code review but still violate the design philosophy
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingshadow-document/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/popcornboom/shadowdocumentdotmd/shadow-document)