Repository navigation
feat(skills): add delegation-orchestration skill - #1
Merged
Merged
Conversation
Adds a Build-phase skill defining the orchestrator↔subagent contract: model tiering, card-based spawn prompts, evidence-based acceptance, and an orchestrator-side verification pyramid. Ported from a project-local skill and genericized: removed external-skill and project-specific couplings, linked references/orchestration-patterns.md for topology (this skill owns the delegation contract only). Includes the required trigger + behavioral eval case and fixture; updates CLAUDE.md, README, and docs skill counts (24 -> 25). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
daithinh2401
pushed a commit
that referenced
this pull request
Aug 18, 2026
…lity requirements (addyosmani#431) Implements the v1 scope agreed in addyosmani#431: when one requirement bundles several independently testable capabilities, spec-driven-development now runs a bounded front-step before Specify — detect multi-capability scope, propose a capability map (stable module ids, one-way dependency direction, build order), gate it on human approval, then recurse the gated workflow per module in dependency order. Kept deliberately small per the maintainer's scoping: - detection + module map + stable identity only; no per-module artifact tree — module specs reuse the root-level SPEC-<id>.md naming so the layout follows the delta-spec direction in addyosmani#383 rather than leading it - the simple path is preserved: single-capability requests skip Phase 0 entirely, and the section says so first - non-goals held: no PM framework, no forced hierarchy on small features Also: - description gains the decomposition vocabulary so realistic asks route here (both new positive triggers rank #1) - /spec command wrappers (.claude, commands/, .gemini) gain one matching step, kept in parity - eval case: +2 positive triggers, +1 owner-negative guarding the planning-and-task-breakdown boundary, +1 execution eval backed by a new multi-capability fixture (portal-brief.md) Verification: validate-skills 24/24, validate-commands 8/8, run-evals 127 checks 0 errors 0 warnings, rank-1 86% (67/78) over floor 80, behavioral dry-run resolves both spec evals.
daithinh2401-repo-sync-bot Bot
pushed a commit
that referenced
this pull request
Nov 1, 2026
The Tier-2 trigger scorer never matched clipped forms users type (docs, auth, config) to the long forms used in descriptions (documentation, authentication), so same-register prompts ranked #1-2 while clipped-register prompts sank to addyosmani#18-20 (see addyosmani#660). Fix in the stemmer, not the descriptions: a small explicit alias map applied before stemming plus -ation folding, so both registers stem identically. Adds clipped-register positive prompts to the security-and-hardening and documentation-and-adrs case files so a description that drops back to one register fails CI, and a sandbox regression test pinning the routing (fails on main, passes with fix). Before -> after (buildCorpus + rankSkills on main): - 'Add authentication to our API endpoints' -> security #2 -> #5 (*) - 'Add auth to our API endpoints' -> security addyosmani#20 -> #5 (*) - 'Our documentation is out of date with the code' -> docs #1 -> #1 - 'Our docs are out of date with the code' -> docs addyosmani#18 -> #1 (*) the API-endpoints auth variant stays genuinely ambiguous with api-and-interface-design ('API endpoints' is name-weighted 2x there); no existing rank-1 moved: suite stays 100% (91/91, was 89/89). Fixes addyosmani#660
daithinh2401-repo-sync-bot Bot
pushed a commit
that referenced
this pull request
Nov 1, 2026
…tually guard Two blocking items from review on addyosmani#668. Adding 'ation' without 'ations' left the plural longer than its singular: migration -> migr but migrations -> migration. That halves the score for 'Plan the database migrations' (0.354 -> 0.093) where the two forms used to match. Both are now listed, with a regression test that fails on the one-form list. The -ifications rule above already handled both forms. The pinned auth case was not a guard: 'Add auth to the login flow' ranks #1 on main because 'login' and 'flow' are in the description, so it passes without the alias map. Swapped for 'Add auth and rotate the session cookie' (#4 on main, #1 with the alias), and the sandbox test for the alias map still fails on its own if the map is dropped. Corpus: 91/91 rank-1, 143 checks, 40/40 unit tests.
daithinh2401-repo-sync-bot Bot
pushed a commit
that referenced
this pull request
Nov 15, 2026
…be drift The eval gate was still failing after the rebase: "Set something up so our module docs cannot silently go out of date again" ranked #8, needing top 3. Cause is the scorer, not the wording. run-evals stems tokens, and "documentation" does not stem to "doc" - so a description written entirely in terms of "documentation" shares almost nothing with a prompt written in terms of "docs". Only "out" overlapped. The description described drift correctly and still could not be retrieved by anyone asking about it in the shorter register. Fixed by carrying the vocabulary the prompts actually use - docs, module docs, out of date - alongside the existing wording rather than replacing it, so the ADR prompts keep the terms they match on. All five positive triggers now rank #1 (worst was #8). Full suite: 142 checks passed, 0 errors, and the repo-wide rank-1 rate goes 99% -> 100% (90/90). Negative triggers unchanged - debugging and security still own theirs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new Build-phase skill:
delegation-orchestration.It defines the contract between an orchestrating agent and its implementation subagents:
Scope
This skill owns the delegation contract only. Multi-agent topology (fan-out, pipelines, anti-patterns) stays in
references/orchestration-patterns.md, which the skill links to — no overlap, one source per rule.Port notes
Ported from a project-local skill and genericized:
orchestration-patternsreference directlyFiles
skills/delegation-orchestration/SKILL.mdevals/cases/delegation-orchestration.json+evals/fixtures/delegation-orchestration/CLAUDE.md,README.md,docs/*— added to Build phase, skill count 24 → 25Verification
node scripts/validate-skills.js→ 25 skills, 0 errorsnode scripts/validate-reference-links.js→ 0 errorsnode scripts/run-evals.js→ 129 checks passed, 0 errors; the 3 new positive prompts each rank the skill feat(skills): add delegation-orchestration skill #1🤖 Generated with Claude Code