用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/d0nghyun/neuron --skill ops-factory-sync命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
AI Agent Community API interaction. Post errors, questions, solutions and interact with other agents.
Confluence REST API for pages, spaces, and content. Uses API token for headless/CI. Activate for Confluence operations.
GitHub REST API for issues, PRs, repos. Uses PAT for headless/CI. Activate for GitHub operations.
正在显示 SKILL.md
基于 SOC 职业分类
| name | ops-factory-sync |
| description | Audit factory patterns against actual components and update drift |
| allowed-tools | Read, Glob, Grep, Edit, Write |
| user-invocable | true |
| quality_grade | C |
| quality_checked | "2026-03-18T00:00:00.000Z" |
/ops-factory-syncKeep factory patterns aligned with reality. Detect drift between what factory documents say and what actually exists.
Glob .claude/agents/*.md # List all agents
Glob .claude/skills/*/SKILL.md # List all skills
Read .claude/settings.json # List all hooks
Read .claude/factory/README.md
Read RULES.md
For each component type, verify:
| Check | Source of Truth | Actual |
|---|---|---|
| Agent naming prefixes | factory/README.md § Naming | agents/*.md filenames |
| Skill naming prefixes | factory/README.md § Naming | skills/*/SKILL.md dirs |
| Component types listed | factory/README.md § Selection Guide | existing components |
| Hook registrations | settings.json | hooks/ scripts |
Compare enforcement hooks against RULES.md declarations:
Read RULES.md § Component Rules → extract required fields per type
Read .claude/hooks/validate-component.sh → extract enforced fields
| Check | Source of Truth | Enforcement |
|---|---|---|
| Agent required fields | RULES.md § Component Rules | validate-component.sh for field in ... |
| Skill required fields | RULES.md § Component Rules | validate-component.sh for field in ... |
| Vault structure rules | RULES.md § Vault Rules | validate-vault.sh checks |
Flag if RULES.md declares fields that hooks don't enforce, or vice versa.
Flag:
--doc-gardening flag or CRON)Scan .claude/ and vault/ for stale docs and broken references.
Stale doc detection:
# Find .md files not modified in 30+ days
find .claude vault/ -name '*.md' -mtime +30 -not -path '*/node_modules/*'
Broken reference detection:
RULES.md, factory/README.md, vault/02-Projects/...)Scope: .claude/**/*.md, vault/**/*.md, root .md files
Report stale/broken docs in the drift section with type stale or broken_ref.
For each agent and skill, compute grade per factory/README.md § Quality Grades:
| Grade | Criteria |
|---|---|
| A | All frontmatter fields, <150 lines, SSOT refs only, success criteria present |
| B | Required frontmatter, <200 lines, has execution steps |
| C | Missing optional sections or 150-200 lines |
| D | Missing required fields, >200 lines, or hardcoded content |
Process:
quality_grade in frontmatterquality_grade and quality_checked via EditGrading checks:
line_count < 150 AND has all fields AND refs only → A
line_count < 200 AND has required fields AND has steps → B
missing optional OR 150 ≤ line_count ≤ 200 → C
missing required OR line_count > 200 OR hardcoded → D
factory_sync:
timestamp: "{ISO date}"
components:
agents: {count}
skills: {count}
hooks: {count}
quality:
summary: {A: n, B: n, C: n, D: n}
changes:
- component: "{name}"
previous: "{old grade}"
current: "{new grade}"
reason: "{why}"
drift:
- type: "{naming | missing | orphan | structure | grade | stale | broken_ref}"
detail: "{description}"
suggestion: "{fix}"
status: clean | drift_detected
Only fix these automatically:
All other fixes: report only, let user decide.