Skip to content

feat(skills): six stub coding-cluster skills (D4) - #36

Merged
flg77 merged 1 commit into
mainfrom
feat/stub-coding-skills
May 7, 2026
Merged

flg77 merged 1 commit into
mainfrom
feat/stub-coding-skills

Conversation

@flg77

@flg77 flg77 commented May 7, 2026

Copy link
Copy Markdown
Owner

Lands LOW-risk pass-through manifests for code_review, code_generation, test_generation, test_execution, security_scan, dependency_audit — the skills the D3 personas declare. 10 tests pin the contract. 110/110 across PR-26..30 + new module locally.

The five coding-agent personas (D3 follow-up) reference six skills
that did not exist on disk: code_review, code_generation,
test_generation, test_execution, security_scan, dependency_audit.

Each ships:
* skills/<name>/skill.yaml — LOW-risk manifest, adapter_class
  StubCodingSkill, domain_id software_engineering or security_audit
  (per the receptor model in docs/SUBAGENT_COMMUNICATION.md).
* skills/<name>/adapter.py — pass-through StubCodingSkill that
  round-trips the LLM-supplied text and tags it with the skill_id
  for audit attribution.

The skills are governance-only stubs.  The LLM still does the
actual work via its natural-language output; the skill registry
contributes:
* Cat-A A-017 enforcement (skill ceiling + allow-list).
* Audit anchor on TASK_COMPLETE.invocations.
* skill_in_use column on the cluster panel (PR #29).

Replacing each adapter with a real linter / static-analysis /
pytest backend is a separate hardening track.

Tests — tests/test_stub_skills.py (10 cases):
* All six manifests load via SkillRegistry.load_from.
* All six are LOW risk (default MEDIUM ceiling accepts them).
* Adapter round-trips input text per skill_id (parametrised).
* Per-skill module isolation — each adapter resolves to its own
  manifest's skill_id.
* Domain-id alignment matches the receptor-filter expectations.

110 passed across PR-26..30 + new module on the local sweep.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@flg77
flg77 merged commit 48ca1c8 into main May 7, 2026
@flg77
flg77 deleted the feat/stub-coding-skills branch May 7, 2026 19:14
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.

1 participant