Skip to content

feat(arch): composite skill architecture + SEO reference implementation#112

Merged
ShaheerKhawaja merged 6 commits into
mainfrom
feat/v2.0-composite-architecture
Apr 16, 2026
Merged

feat(arch): composite skill architecture + SEO reference implementation#112
ShaheerKhawaja merged 6 commits into
mainfrom
feat/v2.0-composite-architecture

Conversation

@ShaheerKhawaja

Copy link
Copy Markdown
Owner

Summary

New composite skill architecture that collapses fragmented skills into domain-aware pipelines with shared memory, evaluation rubrics, and cross-session learning.

What's new

  • templates/composite-skill/COMPOSITE-SPEC.md — Pattern template for all composites
  • skills/seo/ — First reference composite with:
    • Router SKILL.md (4 actions: audit, create, research, monitor)
    • sub-skills/audit.md — Full 4-phase audit runbook
    • evaluation/rubric.yml — Per-action scoring dimensions with weights
    • memory/schema.yml — Domain persistence (profile, keywords, audit history, learnings)

Architecture

skills/{domain}/
  SKILL.md              # Router
  sub-skills/           # Action runbooks
  evaluation/           # Rubrics + checklists
  memory/               # Persistence schemas

Impact

  • 9 fragmented SEO skills -> 1 composite with shared memory
  • Pattern applies to all 14 planned composites (138 skills -> 14 commands)

Test plan

  • bun test passes
  • COMPOSITE-SPEC.md is self-contained and implementable
  • SEO composite has all required sections (router, sub-skills, evaluation, memory)

New architecture: composite skills collapse fragmented skills into
domain-aware pipelines with shared memory, evaluation rubrics, and
cross-session learning.

- COMPOSITE-SPEC.md: Template pattern for all composites (router +
  sub-skills + evaluation + memory)
- /seo composite: Router with 4 actions (audit, create, research, monitor)
- seo/sub-skills/audit.md: Full 4-phase audit runbook (technical, content,
  competitor, scoring)
- seo/evaluation/rubric.yml: Per-action scoring dimensions with weights
- seo/memory/schema.yml: Domain-specific persistence (profile, keywords,
  audit history, learnings)

This replaces 9 fragmented SEO skills with 1 composite that has shared
memory and evaluation. Pattern applies to all 14 planned composites.
Two more composites following the COMPOSITE-SPEC.md pattern:

/pos-security — 7-domain OWASP audit, dependency scan, hardening
  with vulnerability memory (vuln-history, dependency-audit, learnings).
  Replaces 9 fragmented security skills.

/pos-review — 2-pass PR review, code review, architecture review
  with codebase pattern memory (review-history, recurring patterns,
  suppressions). Replaces 7 fragmented review skills.

Both have: router SKILL.md, evaluation rubric.yml, memory schema.yml.
Pattern: 16 fragmented skills -> 2 composites with shared memory.
4 more composite skills following COMPOSITE-SPEC.md:

/pos-content — strategy, write, audit, refresh with brand voice memory.
  Replaces 10 content skills.
/pos-ads — audit, create, optimize, report with campaign memory.
  Replaces 20 ads skills.
/pos-plan — ceo, eng, design, brainstorm with decision memory.
  Replaces 8 planning skills.
/pos-build — brainstorm, plan, implement, test with project memory.
  Replaces 6 build skills.

Running total: 7 composites absorb 80 fragmented skills.
Each has router + evaluation rubric + memory schema pattern.
Final 7 composites completing the full architecture:

/pos-debug — diagnose, fix, verify with bug pattern memory (4 skills)
/pos-research — quick, deep, exhaustive with citation memory (5 skills)
/pos-ship — pr, deploy, canary, rollback with release memory (4 skills)
/pos-qa — test, audit, browse with test result memory (5 skills)
/pos-frontend — audit, upgrade, design with design token memory (10 skills)
/pos-github — pr, issue, release, workflow with project memory (8 skills)
/pos-n8n — create, import, debug, monitor with workflow memory (33 skills)

Complete set: 14 composites absorb 138 fragmented skills.
Each has: router SKILL.md + evaluation/rubric.yml + memory pattern.
@ShaheerKhawaja
ShaheerKhawaja merged commit a7091ec into main Apr 16, 2026
4 checks passed
@ShaheerKhawaja
ShaheerKhawaja deleted the feat/v2.0-composite-architecture branch April 16, 2026 10:41
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