Skip to content

feat: wire after_specify and after_plan hook events into command templates#1825

Open
davidniu-0914 wants to merge 2 commits intogithub:mainfrom
davidniu-0914:feature/add-spec-plan-hooks
Open

feat: wire after_specify and after_plan hook events into command templates#1825
davidniu-0914 wants to merge 2 commits intogithub:mainfrom
davidniu-0914:feature/add-spec-plan-hooks

Conversation

@davidniu-0914
Copy link

Description

This PR aligns the extension hooks documentation and command templates for the specify and plan commands, resolving Issue #1788. It ensures that all core command templates (specify.md, plan.md, tasks.md,
implement.md) contain consistent CRITICAL execution instructions for mandatory hooks, preventing AI agents from proceeding before hook execution. Additionally, it synchronizes the project version to 0.2.1 across
pyproject.toml and all extension guides to match the upstream repository.

Testing

  • Verified markdown template rendering and hook logic consistency across all modified command files.
  • Confirmed version consistency in pyproject.toml and documentation.
  • Tested locally with uv run specify --help
  • Ran existing tests with uv sync && uv run pytest

AI Disclosure

  • I did not use AI assistance for this contribution
  • I did use AI assistance (describe below)

This PR was prepared with the assistance of Gemini CLI to synchronize version numbers across multiple files, standardize hook instructions in markdown templates for behavioral consistency, and ensure
documentation accuracy relative to the implemented features.

…lan (github#1788)

- Update EXTENSION-API-REFERENCE.md to reflect current hook implementation status.
- Add before_tasks and before_implement hooks to EXTENSION-DEVELOPMENT-GUIDE.md.
- Standardize CRITICAL execution instructions for mandatory hooks across all templates (specify, plan, tasks, implement).
- Sync documentation versions and pyproject.toml to 0.2.1 to match upstream.
- Update Last Updated dates in extension guides.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant