diff --git a/CLAUDE.md b/CLAUDE.md index 5b05a6ee4b..c67fba3a30 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,8 +20,8 @@ Read @FORK.md for full context on this fork. - Install locally (dev): ```bash uv tool install . --force --reinstall - PLUGIN_ROOT=$(find ~/.claude/plugins/cache -path "*/appfolio-speckit/*/skills" -type d 2>/dev/null | sort -V | tail -1 | sed 's|/skills$||') - [ -n "$PLUGIN_ROOT" ] && cp -R ~/src/ai-dev-tools/plugins/appfolio-speckit/* "$PLUGIN_ROOT/" + PLUGIN_ROOT=$(find ~/.claude/plugins/cache -path "*/sdd/*/skills" -type d 2>/dev/null | sort -V | tail -1 | sed 's|/skills$||') + [ -n "$PLUGIN_ROOT" ] && cp -R ~/src/ai-dev-tools/plugins/sdd/* "$PLUGIN_ROOT/" ``` - Install from release: `uv tool install git+https://github.com/appfolio/spec-kit@af-stable --force` - Test: `specify-af version` then `specify-af init --here --ai claude` in a scratch directory diff --git a/FORK.md b/FORK.md index c37da67fc4..23493fa160 100644 --- a/FORK.md +++ b/FORK.md @@ -28,7 +28,7 @@ All files listed below are modified from upstream and will likely conflict on me ## Hook Architecture -The AF extension uses a manifest-driven dispatch between the bundled spec-kit extension and the separate Claude Code plugin (`appfolio-speckit`): +The AF extension uses a manifest-driven dispatch between the bundled spec-kit extension and the separate Claude Code plugin (`sdd`): - **Before hooks** (`speckit.af.before-*.md`) run framework guards (version check, constitution, spec-picker) then dispatch to plugin-side hook files via `$APPFOLIO_SPECKIT_PLUGIN_ROOT/hooks.yml`. If the current phase is listed in `phases:`, the hook reads and executes `speckit-hooks/{phase}.md` from the plugin. - **After hooks** (`speckit.af.after-*.md`) dispatch to plugin-side hook files the same way, falling back to `speckit-hooks/after-common.md` if no phase-specific file is listed. diff --git a/extensions/af/commands/speckit.af.common.md b/extensions/af/commands/speckit.af.common.md index bc8e3ac20f..f5e9fa22a8 100644 --- a/extensions/af/commands/speckit.af.common.md +++ b/extensions/af/commands/speckit.af.common.md @@ -65,10 +65,10 @@ Do not proceed to the core command — a restart is required regardless. ## Step 2: Plugin Root -Resolve the appfolio-speckit plugin installation path: +Resolve the sdd plugin installation path: ```bash -find ~/.claude/plugins/cache -path "*/appfolio-speckit/*/skills" -type d 2>/dev/null | sort -V | tail -1 | sed 's|/skills$||' +find ~/.claude/plugins/cache -path "*/sdd/*/skills" -type d 2>/dev/null | sort -V | tail -1 | sed 's|/skills$||' ``` Note the output as `APPFOLIO_SPECKIT_PLUGIN_ROOT`. If the command returns nothing, the plugin is not installed — proceed without it.