Skip to content

Feat/ai skills#1632

Merged
mnriem merged 13 commits intogithub:mainfrom
mnriem:feat/ai-skills
Feb 19, 2026
Merged

Feat/ai skills#1632
mnriem merged 13 commits intogithub:mainfrom
mnriem:feat/ai-skills

Conversation

@mnriem
Copy link
Collaborator

@mnriem mnriem commented Feb 19, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 19, 2026 19:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-skills CLI flag with validation requiring --ai to 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.

Copilot AI review requested due to automatic review settings February 19, 2026 19:22
@mnriem mnriem merged commit 9402ebd into github:main Feb 19, 2026
8 checks passed
@mnriem mnriem deleted the feat/ai-skills branch February 19, 2026 19:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@DovieW
Copy link

DovieW commented Feb 19, 2026

why would I want the agent changing modes by itself?

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.

3 participants

Comments