Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(lfg): use platform-neutral skill references#642

Merged
tmchow merged 2 commits into
mainfrom
tmchow/issue-574
Apr 22, 2026
Merged

fix(lfg): use platform-neutral skill references#642
tmchow merged 2 commits into
mainfrom
tmchow/issue-574

Conversation

@tmchow
Copy link
Copy Markdown
Collaborator

@tmchow tmchow commented Apr 22, 2026

Summary

Fixes #574. The lfg skill previously used Claude-specific slash syntax (/ce-plan $ARGUMENTS, /ce-work, etc.) in its step list. When the agent invoked the Skill tool it would try the short name first (e.g., Skill(ce-plan)), fail because the host listed it as compound-engineering:ce-plan, then retry with the namespaced form — wasting a turn per step. This PR replaces the slash references with bare skill names and adds a platform-agnostic instruction to match the host's available-skills list verbatim, so the agent resolves the correct entry on the first try across Claude Code, Codex, OpenCode, and other targets.

Test plan

  • Run /lfg <small task> in Claude Code and confirm the first skill invocation after lfg loads is Skill(compound-engineering:ce-plan, ...) with no prior failed Skill(ce-plan) attempt.

tmchow added 2 commits April 21, 2026 20:05
Replace Claude-specific slash syntax (/ce-plan, /ce-work, etc.) with bare
skill names and a platform-agnostic instruction to match the host's
available-skills list verbatim. This avoids the agent guessing a
short-form name that isn't in the list (e.g., Skill(ce-plan) when the
host lists it as compound-engineering:ce-plan) and wasting a turn.

Fixes #574
The "orchestration callers pass explicit mode flags" test asserted the
literal "/ce-code-review mode:autofix" slash string. Now that lfg uses
prose-style "Invoke the `ce-code-review` skill with `mode:autofix ...`",
match the intent (ce-code-review invoked with mode:autofix) via regex.
@tmchow tmchow merged commit b104ce4 into main Apr 22, 2026
2 checks passed
This was referenced Apr 22, 2026
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.

lfg skill keeps calling Skill(ce-plan) before Skill(compound-engineering:ce-plan)

1 participant