Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a new --ai-skills flag to the specify init command that converts Prompt.MD command templates into agent skills following the agentskills.io specification. The feature is designed to provide a modern alternative to command files, with skills installed to agent-specific directories (e.g., .claude/skills/, .gemini/skills/, .github/skills/).
Changes:
- Adds
--ai-skillsCLI flag with validation requiring--aito be specified - Implements
install_ai_skills()function that converts 9 command templates to SKILL.md files with enhanced descriptions - Implements
_get_skills_dir()helper to resolve agent-specific skills directories with override support for Codex - For new projects with
--ai-skills, extracted command files are removed after successful skills installation (skills replace commands) - For existing repos using
--here, pre-existing command files are preserved (no breaking changes) - Adds comprehensive test coverage with 630 lines of tests covering all scenarios
- Version bumped from 0.1.0 to 0.1.1 with detailed CHANGELOG entry
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/specify_cli/__init__.py |
Implements core skills installation logic, CLI flag validation, and command cleanup for new projects |
tests/test_ai_skills.py |
Comprehensive test suite covering skills directory resolution, YAML parsing, command cleanup, CLI validation, and edge cases for all 18 supported agents |
pyproject.toml |
Version bump from 0.1.0 to 0.1.1 |
README.md |
Adds --ai-skills flag documentation and usage examples |
CHANGELOG.md |
Detailed changelog entry for version 0.1.1 describing the new feature |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
why would I want the agent changing modes by itself? |
No description provided.