本文へ移動
cccskills
無料GitHub で公開

skills-router

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

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

LiorCohen/sdd442026年2月24日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

LiorCohen/sdd442026年2月24日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

LiorCohen/sdd442026年2月24日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

LiorCohen/sdd442026年2月24日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

LiorCohen/sdd442026年2月24日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

LiorCohen/sdd442026年2月24日 更新

LiorCohen のスキルをすべて見る

このスキルの問題を報告する