-
Notifications
You must be signed in to change notification settings - Fork 4
feat(slash-commands): add generator for AI assistant native slash commands #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 52 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
c66385e
docs(tasks): add spec/tasks for slash commands helper
ryderstorm 46b1649
feat(slash-commands): bootstrap config and detection
ryderstorm a69ced9
feat: implement Markdown and TOML command generators with override su…
ryderstorm fdcb0c6
feat: add output normalization and snapshot regression tests
ryderstorm 58b9891
chore: mark task 2.0 complete - all generator subtasks finished
ryderstorm 5153e6b
feat: implement slash command writer with multi-agent support
ryderstorm a892441
chore: remove generated test files
ryderstorm a253a23
feat: implement Typer CLI with auto-detection and selection flows
ryderstorm 446a274
feat: implement overwrite handling with backup support
ryderstorm 1bf4461
docs: add slash command generator documentation
ryderstorm 1a90435
docs: mark task 5.0 and all subtasks complete
ryderstorm 3505cd1
fix: add missing tomli-w dependency and update documentation
ryderstorm f3f5701
feat: Fix critical audit issues and add detection path option
ryderstorm 005a247
docs: Add reference links to supported agents table
ryderstorm be1708c
feat: implement consistent exit codes and improved error handling
ryderstorm d088b34
feat: change default paths to home directory and unify option names
ryderstorm d8b792d
feat: improve --list-agents output with Rich table
ryderstorm 3966f64
feat: improve list-agents table formatting
ryderstorm dd513e4
fix: correct detection logic to check command directory
ryderstorm da1baff
fix: correct agent command directories based on official documentation
ryderstorm bf2eb1d
refactor: remove unsupported agents and update remaining paths
ryderstorm 114d253
fix(config): correct Cursor agent command directory and file extension
ryderstorm 248002b
feat(slash-commands): add version and updated_at metadata to generate…
ryderstorm 8b49c52
refactor(generators): align TOML format with official Gemini CLI spec
ryderstorm b5441cc
feat(slash-commands): add cleanup command for generated files
ryderstorm c74bd0f
docs(tasks): add spec and task list for code review fixes
ryderstorm 4c8cafd
feat: add slash_commands to package discovery configuration
ryderstorm 3648ff2
docs: document TOML reading approach and Python version requirements
ryderstorm 2261547
test: add generated content validation tests
ryderstorm 420bfc5
refactor: centralize version management
ryderstorm ddbf4bf
docs: enhance troubleshooting documentation and Python version requir…
ryderstorm d1d333e
docs(slash-command-generator): align documentation with actual implem…
ryderstorm db564dd
test(coverage): add pytest-cov configuration and documentation
ryderstorm 2f021fd
refactor(version): support both local and installed package modes
ryderstorm 21cd658
feat(server): add command-line argument parsing for transport and port
ryderstorm 620f797
docs: reorganize README with clearer usage options
ryderstorm 95749bf
fix: address CodeRabbitAI review comments
ryderstorm d24a467
fix: update typer version constraint to match available PyPI version
ryderstorm ce5e36e
chore: update all packages to latest compatible versions
ryderstorm c0aa9c9
fix: address additional CodeRabbit review comments
ryderstorm 41f7d23
ci: add pre-push test hook and fix dry_run file count bug
ryderstorm 2055453
fix: address remaining CodeRabbit AI review comments
ryderstorm 06169b0
fix: address PR review feedback for slash command generator
ryderstorm 9306fc1
fix: normalize path return types to strings in find_generated_files
ryderstorm 21836fa
fix(install): add fallback to find prompts in installed package
ryderstorm 9315ebb
docs: add TLDR section to README showing quick start workflow
ryderstorm 79045d8
docs: replace Profit with SHIP IT meme in TLDR
ryderstorm 076761d
docs(specs): add spec for fixing bundled prompts directory resolution
ryderstorm 8c174b1
docs(specs): add task list for fixing bundled prompts directory resol…
ryderstorm b629fcc
feat: add importlib.resources support for bundled prompts resolution
ryderstorm ac9d0c6
fix: only fall back to bundled prompts for default directory
ryderstorm bd2744d
docs(tasks): update task list for bundled prompts resolution
ryderstorm 17531c1
docs(tasks): mark all tasks complete for bundled prompts resolution
ryderstorm 7aa966b
docs: improve README with numbered steps and supported AI tools table
ryderstorm d09623a
fix(review): address PR review feedback
ryderstorm d98688a
fix(writer): improve importlib.resources package anchor path
ryderstorm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,10 @@ | |
| __pycache__ | ||
| .venv | ||
|
|
||
| # Misc | ||
| temp/ | ||
| # Coverage | ||
| htmlcov | ||
| .coverage | ||
| coverage.xml | ||
|
|
||
| # Misc | ||
| temp/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| """Centralized version management for the project. | ||
|
|
||
| This module reads the version from pyproject.toml to ensure a single source of truth. | ||
| """ | ||
|
|
||
| from __future__ import annotations | ||
|
|
||
| import tomllib | ||
| from importlib.metadata import version as get_package_version | ||
| from pathlib import Path | ||
|
|
||
|
|
||
| def _get_version() -> str: | ||
| """Get the version from pyproject.toml.""" | ||
| pyproject_path = Path(__file__).parent / "pyproject.toml" | ||
| if pyproject_path.exists(): | ||
| # Local development mode | ||
| with pyproject_path.open("rb") as f: | ||
| data = tomllib.load(f) | ||
| return data["project"]["version"] | ||
| else: | ||
| # Installed package mode | ||
| return get_package_version("spec-driven-development-mcp") | ||
|
|
||
|
|
||
| __version__ = _get_version() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.