fix: resolve skill placeholders for all SKILL.md agents, not just codex/kimi (#2313)

* fix: resolve skill placeholders for all SKILL.md agents, not just codex/kimi

* chore: remove unused NATIVE_SKILLS_AGENTS constant
This commit is contained in:
swithek
2026-04-22 22:12:44 +02:00
committed by GitHub
parent c5c20134df
commit ecb3b94b43
3 changed files with 75 additions and 2 deletions

View File

@@ -282,7 +282,8 @@ class CommandRegistrar:
if not isinstance(frontmatter, dict):
frontmatter = {}
if agent_name in {"codex", "kimi"}:
agent_config = self.AGENT_CONFIGS.get(agent_name, {})
if agent_config.get("extension") == "/SKILL.md":
body = self.resolve_skill_placeholders(
agent_name, frontmatter, body, project_root
)