spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

docs: document copilot skills mode (--skills) and markdown deprecation

Open Quratulain-bilal opened this issue 4 months ago • 5 comments

fixes #3300

as suggested by @mnriem on the issue.

what

the copilot skills mode (added in #3256, v0.12.3) wasn't documented in docs/reference/integrations.md:

  • the copilot row in the supported-agents table had an empty notes cell, while other skills-capable agents (codex, kimi, devin, ...) describe their skills behavior there.
  • --skills was missing from the integration-specific options table — only generic and kimi were listed.

how

  • fill the copilot notes cell: installs .agent.md by default; --integration-options "--skills" scaffolds speckit-<name>/SKILL.md under .github/skills/; the markdown default is deprecated.
  • add a copilot / --skills row to the integration-specific options table.

verified against the code

  • CopilotIntegration.options() in src/specify_cli/integrations/copilot/__init__.py defines --skills as a flag with help "Scaffold commands as agent skills (speckit-/SKILL.md) instead of .agent.md files".
  • dispatch_command uses .github/skills/, speckit-<stem>/SKILL.md, and invokes /speckit-<stem> in skills mode; --agent speckit.<stem> otherwise.
  • _warn_legacy_markdown_default() emits the deprecation warning when installing without --skills.

docs-only change.

Quratulain-bilal avatar Jul 02 '26 20:07 Quratulain-bilal

both correct. pushed 43f23af: both copilot rows now say the default is legacy markdown mode and spell out the .agent.md + companion .prompt.md (.github/prompts/) layout, and use the 'legacy markdown mode' wording that matches the deprecation warning users see instead of the ambiguous 'markdown default'.

Quratulain-bilal avatar Jul 06 '26 23:07 Quratulain-bilal

Please address Copilot feedback

mnriem avatar Jul 08 '26 12:07 mnriem

addressed in 37414d1. both copilot rows now spell out the legacy markdown layout (.github/agents/.agent.md plus .github/prompts/.prompt.md and the .vscode/settings.json merge) and use speckit- to match the rest of the table. verified each path against the copilot integration source (folder .github/, agents dir .github/agents, prompts .github/prompts, and the settings.json write).

Quratulain-bilal avatar Jul 08 '26 13:07 Quratulain-bilal

Please address Copilot feedback

mnriem avatar Jul 10 '26 12:07 mnriem

addressed in b3935ca. the copilot notes cell now uses --integration-options="--skills" (equals form), matching the generic row, the options table, and the install example elsewhere in this doc so the quotes aren't read as part of the value.

Quratulain-bilal avatar Jul 10 '26 15:07 Quratulain-bilal

Thank you!

mnriem avatar Jul 13 '26 14:07 mnriem