Skip to content

Commit 8ac1cb2

Browse files
Potential fix for pull request finding
Fix missing `.agent` filename suffix Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b2227ad commit 8ac1cb2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_ai_skills.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ def test_skills_install_for_all_agents(self, temp_dir, agent_key):
433433
commands_subdir = AGENT_CONFIG[agent_key].get("commands_subdir", "commands")
434434
cmds_dir = proj / agent_folder.rstrip("/") / commands_subdir
435435
cmds_dir.mkdir(parents=True)
436-
# Copilot filters for speckit.*.md; other agents use plain names
437-
fname = "speckit.specify.md" if agent_key == "copilot" else "specify.md"
436+
# Copilot uses speckit.*.agent.md templates; other agents use plain names
437+
fname = "speckit.specify.agent.md" if agent_key == "copilot" else "specify.md"
438438
(cmds_dir / fname).write_text(
439439
"---\ndescription: Test command\n---\n\n# Test\n\nBody.\n"
440440
)

0 commit comments

Comments
 (0)