用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill documentation-maintenance命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | documentation-maintenance |
| description | >- Use when this capability is needed. |
Activate this skill when:
doc-sync-hint PostToolUse hook flags related skills or docs after a code change.claude/skills/, .claude/agents/, or docs/This table shows which skills, docs, and agents relate to each application code area. The doc-sync-hint.sh hook uses the same mapping for skills and docs (note: the hook only triggers on application code changes, not on documentation files — those are covered by the Story Document Mapping table below).
| Code path pattern | Skills | Docs | Agents |
|---|---|---|---|
app/Models/{Article,Category,Tag,ArticleInternalLink,ArticleRevision,KeywordRanking}.php, app/Enums/{ArticleStatus,ContentType}.php | content-publishing | docs/architecture.md, docs/generated/schema.md | content-manager |
app/Http/Controllers/{Article,Category}Controller* | content-publishing | docs/generated/routes.md | content-manager |
app/Ai/Agents/*.php, app/Ai/AgentResolver.php, app/Ai/Agents/Concerns/*.php | ai-agent-patterns | docs/architecture.md | campaign-orchestrator, content-manager |
resources/js/composables/useArticleAiChat.ts | content-publishing, inertia-vue-development | docs/architecture.md | frontend-developer |
app/Models/{Campaign,CampaignTopic}* | content-publishing | docs/generated/schema.md | campaign-orchestrator |
app/Models/{AffiliateLink,AffiliateClick,AffiliateProgram,AffiliateConversion,AdPlacement}*, app/Enums/{CommissionType,ConversionStatus}.php | affiliate-tracking | docs/generated/schema.md | monetization-specialist |
app/Http/Controllers/AffiliateRedirectController* | affiliate-tracking | docs/generated/routes.md | monetization-specialist |
app/Models/ArticleAnalytics* | analytics-dashboard | docs/generated/schema.md | analytics-engineer |
app/Http/Middleware/EnsureUserIsAdmin.php, routes/admin.php | — | docs/architecture.md | — |
app/Http/Controllers/Admin/*.php | analytics-dashboard | docs/generated/routes.md | analytics-engineer |
resources/js/Layouts/AdminLayout.vue, resources/js/components/admin/*.vue | inertia-vue-development | docs/architecture.md | frontend-developer |
resources/js/Pages/Admin/*.vue, resources/js/Pages/Admin/**/*.vue | analytics-dashboard, inertia-vue-development | docs/generated/routes.md | analytics-engineer, frontend-developer |
app/Services/ExternalApi/**, app/Contracts/ExternalApi/*, app/Enums/{ApiProvider,ApiConnectionStatus,WebhookStatus}.php, config/external-apis.php, app/Models/{ApiConnection,Webhook}.php, app/Providers/ExternalApiServiceProvider.php | queue-job-patterns | docs/generated/schema.md, docs/generated/jobs.md | social-media-manager, laravel-specialist |
app/Jobs/*.php, app/Jobs/**/*.php | queue-job-patterns | docs/generated/jobs.md | laravel-specialist |
config/queue.php, config/horizon.php, app/Providers/HorizonServiceProvider.php | queue-job-patterns | docs/architecture.md, docs/generated/jobs.md | laravel-specialist |
resources/js/**/*.vue | inertia-vue-development | — | frontend-developer |
resources/js/Pages/**/*.vue (public-facing) | inertia-vue-development | — | frontend-developer, seo-specialist |
tests/**/*.php | pest-testing | — | — |
database/migrations/*.php | — | docs/generated/schema.md | — |
routes/{web,console}.php | — | docs/generated/routes.md | — |
app/Features/*.php | inertia-vue-development | — | — |
app/Models/SocialAccount*, app/Http/Controllers/Social* | — | docs/generated/schema.md | social-media-manager |
app/Models/NewsletterSubscriber.php, app/Enums/{SubscriberStatus,SubscriptionSource}.php, app/Http/Controllers/NewsletterController.php, app/Mail/Newsletter*.php, app/Events/Newsletter*.php, app/Listeners/Send*Email.php | — | docs/generated/schema.md, docs/generated/routes.md | — |
app/Models/SocialIdentity.php, app/Enums/AuthProvider.php, app/Http/Controllers/Auth/*, app/Actions/Fortify/*, app/Providers/FortifyServiceProvider.php, app/Http/Responses/*, config/fortify.php, routes/auth.php | — | docs/generated/schema.md, docs/generated/routes.md | frontend-developer |
.claude/skills/* (excluding skill-builder/ itself) | skill-builder | — | — |
This table maps documentation files to the skills that create or consume them. Use this when editing story documents to understand which skills are involved.
| Document path pattern | Created by | Consumed by |
|---|---|---|
docs/features/*/stories/*/brief.md | /research story, /plan brief | /plan (context for prd.md) |
docs/features/*/stories/*/context.md | /research context | External AI tools (manual) |
docs/features/*/stories/*/prd.md | /plan, /plan prd | /execute (AC verification in ralph loop) |
docs/features/*/stories/*/design.md | /plan, /plan design | /execute (file manifest, edge cases) |
docs/features/*/stories/*/plan.md | /plan, /plan steps | /execute (primary — implementation roadmap) |
docs/features/*/stories/*/journal.md | /execute | Read-only historical record |
docs/features/*/stories/*/feedback.md | /feedback | Read-only historical record |
docs/features/*/bugs/*.md | /bugfix | Read-only historical record |
docs/features/*/spikes/*.md | /research spike | May inform future /research story |
docs/features/*/README.md | /feature (create), /execute (update) | All skills (living feature reference) |
docs/architecture/* | Manual or /execute | All skills (system context) |
docs/decisions/*.md | Manual | All skills (decision records) |
docs/proposals/*.md | Manual |
Update a skill's SKILL.md when:
Do not update skills for:
Update an agent's .md file in .claude/agents/ when:
<example> blocks in the description no longer reflect realistic usageDo not update agents for:
Every skill file follows this structure:
---
name: skill-name
description: >-
One-paragraph description. Used by Claude to decide when to activate.
---
# Skill Title
## When to Apply
- Bullet list of activation triggers
## Domain sections...
- Code conventions, patterns, relationships
- Use <code-snippet> blocks for examples
## Common Pitfalls
- Things to watch out for
doc-sync-hint.sh and the mapping table above<code-snippet> blocks for code examples — they render correctly in boost guidelines.claude/skills/ for formatting conventions| Content type | Location |
|---|---|
| Architecture decisions, schema diagrams, system overview | docs/ |
| Code conventions, patterns, how-to guidance for Claude | .claude/skills/ |
| Deep domain knowledge, implementation patterns for subagents | .claude/agents/ |
| Project setup, commands, key files | CLAUDE.md |
Agent files live in .claude/agents/ and use YAML frontmatter:
---
name: agent-name
description: "When to invoke + <example> blocks showing user/assistant/commentary"
model: sonnet
color: orange
memory: project
---
Agent persona and domain knowledge body...
| Field | Purpose |
|---|---|
name | Agent identifier (matches filename without .md) |
description | Determines when the Task tool invokes this agent; includes <example> blocks |
model | AI model to use (sonnet, opus, haiku) |
color | Display color in the UI |
memory | Memory scope — project stores memory in .claude/agent-memory/{agent-name}/ |
<example> blocks — if the agent's invocation patterns change, update examples in the description fieldMEMORY.md at .claude/agent-memory/{agent-name}/MEMORY.md with initial knowledge if it's empty.claude/skills/{skill-name}/SKILL.md with YAML frontmatter (name + description)skills array in boost.json.claude/hooks/doc-sync-hint.sh if the skill covers specific code pathsRoot-level docs:
docs/{topic}.md (architecture narrative) or add to docs/generated/ (auto-generated references)docs/README.md index.claude/hooks/doc-sync-hint.sh for code paths related to the new docFeature docs:
docs/features/{feature-name}/README.md using the /feature skill## Key References section linking to relevant docs/generated/*.md#feature-name anchorsdocs/features/index.mdAuto-generated references (docs/generated/):
php artisan docs:generate to regenerate schema.md, routes.md, jobs.mdapp/Console/Commands/GenerateReferenceDocs.php instead.claude/agents/{agent-name}.md with YAML frontmatter (name, description, model, color, memory).claude/agent-memory/{agent-name}/MEMORY.md (can be empty initially)<example> blocks in the description field showing when to invoke the agent (user/assistant/commentary format)boost.json or hook changes needed — agents are auto-discovered from .claude/agents/Edit operations, not Write, when updating existing skills, docs, or agentsdocs/, coding guidance goes in skills, deep domain knowledge goes in agents, project config goes in CLAUDE.mddoc-sync-hint.sh and the table above.claude/skills/, .claude/agents/, docs/, and CLAUDE.md to prevent infinite hint loops — don't remove those guards.claude/agent-memory/{agent-name}/MEMORY.md — the agent won't persist learnings without itdescription field determines when the agent is invoked; if it doesn't mention a code area, the agent won't be selected for that work<example> blocks in the agent's description — outdated examples lead to incorrect invocationSource: ABilenduke/copilot-developer — distributed by TomeVault.
/research story (if accepted) |
docs/spikes/*.md | /research spike | May inform future /research story |
docs/runbooks/*.md | Manual or /execute | Operational reference |
.claude/conventions/github-workflow.md | Manual | /research, /plan, /execute, /feedback, /bugfix |