Skip to content
cccskills
FreePublished on GitHub

skills-router

Routes core skill requests to fullstack-typescript component standards and lifecycle skills.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md6.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Skills Router

Routes techpacks.routeSkills(phase, component_type) requests to the appropriate fullstack-typescript skills. Core never loads tech pack skills directly — it invokes this router, which returns the skill paths to load.

Input

Invoked by the techpacks gateway with a structured context block:

phase: <phase>
component_type: <optional>
component_name: <optional>
agent: <optional>

Validated against skills-router-context.schema.json.


Component Standards Table

Maps component_type to the standards skills that apply during implementation and verification phases.

component_typeStandards Skills
serverbackend-standards, typescript-standards
webappfrontend-standards, typescript-standards
databasedatabase-standards
contractcontract-standards, typescript-standards
helmhelm-standards
configconfig-standards
cicdcicd-standards
integration-testingintegration-testing-standards
e2e-testinge2e-testing-standards

Skill Paths

Skill NamePath (relative to tech pack root)
backend-standardsskills/components/backend/backend-standards/SKILL.md
frontend-standardsskills/components/frontend/frontend-standards/SKILL.md
database-standardsskills/components/database/database-standards/SKILL.md
contract-standardsskills/components/contract/contract-standards/SKILL.md
helm-standardsskills/components/helm/helm-standards/SKILL.md
config-standardsskills/components/config/config-standards/SKILL.md
cicd-standardsskills/components/cicd/cicd-standards/SKILL.md
integration-testing-standardsskills/components/integration-testing/integration-testing-standards/SKILL.md
e2e-testing-standardsskills/components/e2e-testing/e2e-testing-standards/SKILL.md
typescript-standardsskills/typescript-standards/SKILL.md
unit-testingskills/unit-testing/SKILL.md
component-discoveryskills/component-discovery/SKILL.md
scaffoldingskills/scaffolding/SKILL.md
planning-standardsskills/planning-standards/SKILL.md

Phase Skills Table

Maps the lifecycle phase to the skill(s) to load.

PhaseSkillsNotes
component-discoverycomponent-discoveryDiscovers component types and instances in the project
project-scaffoldingscaffoldingScaffolding conventions for this tech pack
plan-generationplanning-standardsPlanning conventions and output format
implementation(from Component Standards Table)Requires component_type in context
testingintegration-testing-standards, e2e-testing-standardsBoth loaded regardless of component type
verification(from Component Standards Table)All standards for each component type involved

Phase Resolution Rules

  1. component-discovery — Always loads the component-discovery skill. No component_type required.

  2. project-scaffolding — Always loads the scaffolding skill. No component_type required.

  3. plan-generation — Always loads the planning-standards skill. No component_type required.

  4. implementation — Requires component_type. Look up the Component Standards Table and return the listed skills. If component_type is missing, return an error.

  5. testing — Always loads integration-testing-standards and e2e-testing-standards. If a specific component_type is provided and it is integration-testing or e2e-testing, load only that one.

  6. verification — Requires component_type. Look up the Component Standards Table and return all listed skills. The verifier uses these to check the implementation against standards.


Agent Context Table

Maps component_type to the agent declared in techpack.yaml that should be loaded via techpacks.loadAgent.

component_typeAgent NameAgent Path
serverbackend-devagents/backend-dev.md
webappfrontend-devagents/frontend-dev.md
databasebackend-devagents/backend-dev.md
contractapi-designeragents/api-designer.md
helmdevopsagents/devops.md
configbackend-devagents/backend-dev.md
cicddevopsagents/devops.md
integration-testingtesteragents/tester.md
e2e-testingtesteragents/tester.md

Loading Instructions

When the techpacks gateway invokes this router:

  1. Read the context block — extract phase, component_type, component_name, and agent.

  2. Resolve skill list — use the Phase Skills Table to determine which skills to load. For phases that reference the Component Standards Table (implementation, verification), look up the component_type entry.

  3. Return skill paths — for each resolved skill name, map it to the relative path from the Skill Paths table above. The techpacks gateway will call techpacks.resolvePath to turn these into absolute paths and then techpacks.loadSkill to load each one.

  4. Agent resolution — if the context includes a component_type and the phase is implementation or verification, also return the agent reference from the Agent Context Table. The techpacks gateway loads the agent via techpacks.loadAgent, which spawns a Task subagent with the resolved skills composed into its prompt.

Example

Request:

phase: implementation
component_type: server
component_name: main-server

Response:

skills:
  - skills/components/backend/backend-standards/SKILL.md
  - skills/typescript-standards/SKILL.md
agent:
  name: backend-dev
  path: agents/backend-dev.md

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

Scaffolds Node.js/TypeScript backend components with CMDO architecture, driven by component settings.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

CMDO architecture standards for Node.js/TypeScript backends with strict layer separation.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

Intent-to-command mappings for fullstack-typescript tech pack features.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

Create change specification and implementation plan with dynamic phase generation. Supports feature, bugfix, refactor, and epic types.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

Orchestrates the full change lifecycle — routes actions to phase-specific sub-files.

The English summary is being prepared. Showing the original description.

LiorCohen/sdd43Updated Feb 24, 2026

See all skills by LiorCohen

Report a problem with this skill