一键导入
diff-project
Shows what changed in dotforge since the project's last sync, to decide whether running /forge sync is worthwhile.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Shows what changed in dotforge since the project's last sync, to decide whether running /forge sync is worthwhile.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audits the Claude Code configuration of a project against the dotforge template. Generates a report with score and gaps.
Sync all GitHub-backed git repos on this machine with origin. Pulls behind repos, pushes ahead repos, reports dirty/non-main/conflict cases for Claude to resolve.
Generate a Claude Code plugin package from the current project's dotforge configuration, ready for marketplace submission.
Fetch official Anthropic/Claude Code docs, detect changes relevant to dotforge, report deltas.
Process the practices inbox, evaluate, incorporate into dotforge, and suggest propagation to projects.
Restore a project's .claude/ directory to the dotforge template from scratch, with backup and rollback option.
| name | diff-project |
| description | Shows what changed in dotforge since the project's last sync, to decide whether running /forge sync is worthwhile. |
Show what changed in dotforge since the last synchronization of the current project.
$DOTFORGE_DIR/registry/projects.ymlpath (compare with $PWD)dotforge_version and last_syncdotforge_version is registered (null), report:
Project not synced — no baseline to compare against.
Run /forge sync to establish baseline.
And stop.If .claude/.forge-manifest.json exists in the current project:
shasum -a 256 <file> | cut -d' ' -f1If manifest does NOT exist, continue to Step 3 using git log.
Run in $DOTFORGE_DIR/:
git log --oneline v<version>..HEAD -- template/ stacks/
Where <version> is the tag corresponding to the project's dotforge_version.
If the tag does not exist, use last_sync as reference:
git log --oneline --since="<last_sync>" -- template/ stacks/
If there are no relevant commits, report:
dotforge has no changes in template/stacks since v<version>.
Project is up to date.
For each modified file in template/ or relevant stacks/ for the project:
═══ DIFF dotforge: v<previous> → v<current> ═══
Project: <name> (last sync: <date>)
Files modified in dotforge:
template/hooks/block-destructive.sh — <diff summary>
template/rules/_common.md — <diff summary>
stacks/python-fastapi/rules/backend.md — <diff summary>
Local files with modifications (vs manifest):
.claude/rules/_common.md — hash differs from deployed
Filter stacks/ to show only the stacks used by the project (read from registry).
If there are relevant changes:
Recommendation: run /forge sync to incorporate these changes.
If there are only cosmetic changes or changes in unused stacks:
Changes do not affect this project. Sync is not necessary.
This skill is installed automatically if the skills/ symlink already exists in ~/.claude/skills/. If not, create the symlink:
ln -sf $DOTFORGE_DIR/skills ~/.claude/skills