用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill scan-repo命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | scan-repo |
| description | Scan docs/business-os/ for changes and create business-relevant ideas from findings. |
Scan the Business OS document tree for changes since the last scan, analyze updates for business relevance, and optionally create ideas based on findings. Provides context for prioritization and review.
READ + ANALYZE + OPTIONAL WRITE (IDEAS ONLY)
Allowed:
docs/business-os/docs/business-os/scans/Not allowed:
/work-idea for that)docs/business-os/ directoryOptional:
full (scan all files) or incremental (since last scan, default)true (auto-create ideas from significant findings) or false (report only, default)docs/business-os/scans/last-scan.json{
"lastCommit": "abc123def456",
"scanDate": "2026-01-28T14:30:00Z",
"changedFiles": [
{
"path": "docs/business-os/cards/BRIK-ENG-0001.user.md",
"status": "M",
"changeType": "modified"
},
{
"path": "docs/business-os/ideas/inbox/new-idea.md",
"status": "A",
"changeType": "added"
}
],
"summary": {
"cardsModified": 3,
"cardsAdded": 1,
"cardsDeleted": 0,
"ideasModified": 2,
"ideasAdded": 1,
"plansModified": 0
}
}
docs/business-os/scans/active-docs.json{
"scanDate": "2026-01-28T14:30:00Z",
"cards": [
{
"id": "BRIK-ENG-0001",
"lane": "Fact-finding",
"priority": "P2",
"business": "BRIK",
"owner": "Pete",
"lastUpdated": "2026-01-28",
"title": "Add user authentication to guide booking flow"
}
],
"ideas": [
{
"id": "BRIK-OPP-0002",
"status": "raw",
"business": "BRIK",
"location":
docs/business-os/scans/history/{timestamp}.jsonSnapshot of scan results for audit trail (same schema as last-scan.json).
# Get last scan commit (from last-scan.json)
LAST_COMMIT=$(jq -r '.lastCommit' docs/business-os/scans/last-scan.json 2>/dev/null || echo "HEAD~30")
# If full scan requested, use initial commit
if [ "$FULL_SCAN" = "true" ]; then
LAST_COMMIT=$(git rev-list --max-parents=0 HEAD)
fi
# Get changed files since last scan
git diff $LAST_COMMIT...HEAD --name-status -- docs/business-os/ > /tmp/changes.txt
# Get unstaged/untracked files
git status --porcelain docs/business-os/ >> /tmp/changes.txt
# Parse output:
# M docs/business-os/cards/BRIK-ENG-0001.user.md (modified)
# A docs/business-os/ideas/inbox/new-idea.md (added)
# D docs/business-os/cards/archive/OLD-001.user.md (deleted)
# ?? docs/business-os/ideas/inbox/untracked.md (untracked)
Parse each changed file and categorize:
Cards:
Ideas:
Plans:
Stage Docs:
For each significant change, assess:
High relevance (create idea):
Medium relevance (report only):
Low relevance (omit from report):
When createIdeas: true and high-relevance changes detected:
---
Type: Idea
ID: SCAN-BRIK-001
Business: BRIK
Status: raw
Created-Date: 2026-01-28
Tags: ["scan-generated", "review-needed"]
Source: Repository scan
---
# Review blocked card: BRIK-ENG-0001
## Finding
Card BRIK-ENG-0001 moved to Blocked lane on 2026-01-28.
## Blocker
Waiting for platform auth team to confirm GDPR compliance.
## Recommendation
1. Follow up with legal team
2. Consider alternative approach if blocker takes >1 week
3. Document decision in stage doc
## Evidence
- Card: `docs/business-os/cards/BRIK-ENG-0001.user.md`
- Change: Lane transition (In progress → Blocked)
- Date: 2026-01-28
last-scan.json:
{
"lastCommit": "abc123def456",
"scanDate": "2026-01-28T14:30:00Z",
"changedFiles": [...],
"summary": {...}
}
active-docs.json:
{
"scanDate": "2026-01-28T14:30:00Z",
"cards": [...],
"ideas": [...],
"plans": [...]
}
history/2026-01-28T14-30-00Z.json:
Snapshot copy of scan results for audit trail.
Display human-readable summary:
Repository Scan Complete
========================
Scan Range: abc123 → def456 (since 2026-01-26)
Scan Date: 2026-01-28 14:30:00 UTC
Changes Detected:
- Cards: 3 modified, 1 added, 0 deleted
- Ideas: 2 modified, 1 added (inbox)
- Plans: 0 modified
- Stage Docs: 4 updated
Highlights:
✓ BRIK-ENG-0001: Moved to Blocked (needs review)
✓ BRIK-ENG-0002: Fact-finding complete, ready for planning
✓ BRIK-OPP-0003: New idea submitted in inbox
Ideas Created: 1
- SCAN-BRIK-001: Review blocked card BRIK-ENG-0001
Next Actions:
1. Review ideas created from scan
2. Use /work-idea to convert promising ideas to cards
3. Use /propose-lane-move to progress unblocked cards
Scan artifacts saved to docs/business-os/scans/
/work-idea to convert scan-generated ideas to cards/propose-lane-move when unblocked/update-business-plan to sync plan with realityUser: /scan-repo
Agent:
Scanning docs/business-os/ for changes since last scan...
[Running git diff]
Last scan: 2026-01-26 (commit abc123)
Current: 2026-01-28 (commit def456)
[Analyzing 8 changed files]
✓ Cards: 3 modified
- BRIK-ENG-0001: Inbox → Fact-finding (2026-01-27)
- BRIK-ENG-0001: Fact-finding → Blocked (2026-01-28) ⚠️
- BRIK-ENG-0002: Fact-finding stage doc updated
✓ Ideas: 2 new
- BRIK-OPP-0003: Guide offline mode (inbox)
- BRIK-OPP-0004: Mobile app push notifications (inbox)
✓ Plans: 0 changes
[Business relevance analysis]
High relevance:
- BRIK-ENG-0001 blocked (needs attention)
Medium relevance:
- 2 new ideas in inbox (normal flow)
- 1 stage doc update (routine)
[Creating idea for blocked card]
✓ Created: SCAN-BRIK-001 (Review blocked card)
[Saving scan artifacts]
✓ docs/business-os/scans/last-scan.json
✓ docs/business-os/scans/active-docs.json
✓ docs/business-os/scans/history/2026-01-28T14-30-00Z.json
Scan complete! 1 idea created, 3 cards updated.
Next steps:
1. Review SCAN-BRIK-001 (blocked card alert)
2. Work up BRIK-OPP-0003 and BRIK-OPP-0004 (new inbox ideas)
HEAD~30 as baselinegit status manuallydocs/business-os/ (no cross-repo scanning)docs/business-os/ detected基于 SOC 职业分类