Skip to content

fix(skill): align with SPEC on deps, result fields, plan stdin#5

Merged
jamestjat merged 1 commit intomainfrom
fix/skill-spec-accuracy
Apr 5, 2026
Merged

fix(skill): align with SPEC on deps, result fields, plan stdin#5
jamestjat merged 1 commit intomainfrom
fix/skill-spec-accuracy

Conversation

@jamestjat
Copy link
Copy Markdown
Owner

Summary

Three SPEC-accuracy fixes in .claude/skills/ergo/SKILL.md to stop agents from hitting preventable CLI rejections:

  1. Dependencies — call out that edges must be same-kind: task→task or epic→epic. task→epic and epic→task are rejected by the CLI (per SPEC.md:73-74). Previously the skill said only "dependencies can cross epic boundaries," which is ambiguous about whether task↔epic is allowed (it isn't).
  2. Result attachmentsresult_path and result_summary are required together (single-line, max 120 chars), per SPEC.md:109-110. Previously the skill mentioned only result_path, so a literal agent would pass just --result-path and get rejected.
  3. JSON piping exceptionergo plan requires a single JSON object on stdin and has no flags-only form (per SPEC.md:40-42). Previously the agent-rules table said "prefer flags over JSON piping" with no carve-out, which would leave an agent stuck on the one command that can't accept flags.

Net: +3/-3 lines, no structural changes.

Test plan

  • Cross-checked wording against references/SPEC.md (lines 73-74, 40-42, 109-110)
  • Cross-checked plan command help text against ergo --help
  • Line count unchanged (131)

🤖 Generated with Claude Code

Three SPEC-accuracy fixes to prevent agents from hitting CLI rejections:

- **Dependencies:** call out that edges must be same-kind (task→task or
  epic→epic). task→epic and epic→task are rejected. task→task can cross
  epic boundaries.
- **Result attachments:** result_path and result_summary are required
  together (single-line, max 120 chars). Previously the skill mentioned
  only result_path.
- **JSON piping exception:** ergo plan requires a single JSON object on
  stdin and has no flags-only form — it's the exception to "prefer flags".
@jamestjat jamestjat merged commit 677cfdf into main Apr 5, 2026
2 of 4 checks passed
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.

2 participants