Skip to content

[Bug]: --ai-skills does not generate skill files with --ai copilot. #1658

@lgraf

Description

@lgraf

Bug Description

When a new project get initialized with -ai copilot and the new --ai-skills flag, the agent skill files are not created (with failure command templates not found).

$ specify init test-dir --script sh --ai copilot --ai-skills --debug

...

Selected AI assistant: copilot
Selected script type: sh
Initialize Specify Project
├── ● Check required tools (ok)
├── ● Select AI assistant (copilot)
├── ● Select script type (sh)
├── ● Fetch latest release (release v0.1.4 (59,679 bytes))
├── ● Download template (spec-kit-template-copilot-sh-v0.1.4.zip)
├── ● Extract template
├── ● Archive contents (38 entries)
├── ● Extraction summary (3 top-level items)
├── ● Ensure scripts executable (5 updated)
├── ● Constitution setup (copied from template)
 <!-- FAILURE INFO HERE --!>
├── ● Install agent skills (command templates not found)
 <!-- FAILURE INFO HERE --!>
├── ● Cleanup
├── ● Initialize git repository (existing repo detected)
└── ● Finalize (project ready)

Project ready.

...

Version Information

         CLI Version    0.1.4                                                                                                                                                                             │
│    Template Version    0.1.4                                                                                                                                                                             │
│            Released    2026-02-20                                                                                                                                                                        │
│                                                                                                                                                                                                          │
│              Python    3.14.3                                                                                                                                                                            │
│            Platform    Linux                                                                                                                                                                             │
│        Architecture    x86_64                                                                                                                                                                            │
│          OS Version    #1 SMP PREEMPT_DYNAMIC Mon, 09 Feb 2026 17:16:33 +0000  

Steps to Reproduce

$ specify init test-dir --script sh --ai copilot --ai-skills --debug

Expected Behavior

Ai skills for copilot are created.

Actual Behavior

No, ai skill files are generated for copilot.

Specify CLI Version

0.1.4

AI Agent

GitHub Copilot

Operating System

Arch Linux stable

Python Version

3.14.3

Error Logs

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions