跳到正文
cccskills
免费在 GitHub 公开

scaffolding

Orchestrates component scaffolding by delegating to component-specific scaffolding skills.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Scaffolding Skill

Orchestrates component scaffolding for the fullstack-typescript tech pack. When a plan phase requires scaffolding new components, this skill determines the correct scaffolding order and delegates to the appropriate component-specific scaffolding skill.


Purpose

During plan execution, the scaffolding phase creates new component directories and boilerplate. This skill ensures components are scaffolded in dependency order -- a server cannot be scaffolded before its contract exists, and Helm charts cannot be created before the services they deploy.


Orchestration Order

Components must be scaffolded in this order. Skip any component type that is not being scaffolded in the current change.

OrderComponent TypeRationale
1configSingleton, always first. All other components read from config.
2contractAPI-first -- contracts define interfaces before implementations.
3databaseData layer before services that read/write data.
4serverBackend services depend on contracts and databases.
5webappFrontend applications consume contracts for type-safe API calls.
6helmDeployment charts -- created after deployable components exist.
7integration-testingRequires server and database to be scaffolded.
8e2e-testingRequires server and webapp to be scaffolded.
9cicdCI/CD pipeline -- last, after all components it builds/deploys exist.

Delegation Table

Each component type delegates to its specific scaffolding skill. Paths are relative to the tech pack's skills/ directory.

Component TypeScaffolding Skill Path
configcomponents/config/config-scaffolding
contractcomponents/contract/contract-scaffolding
databasecomponents/database/database-scaffolding
servercomponents/backend/backend-scaffolding
webappcomponents/frontend/frontend-scaffolding
helmcomponents/helm/helm-scaffolding
integration-testingcomponents/integration-testing/integration-testing-scaffolding
e2e-testingcomponents/e2e-testing/e2e-testing-scaffolding
cicdcomponents/cicd/cicd-scaffolding

Each delegated skill handles its own template rendering, directory creation, and file generation. See the individual SKILL.md files for component-specific details.


Directory Naming Patterns

Component directories follow the patterns defined in techpack.yaml under components.<type>.directory_pattern. These patterns are the authoritative source for where scaffolded components are placed.

Component TypeDirectory Pattern
configcomponents/config/
contractcomponents/contracts/{name}/
databasecomponents/databases/{name}/
servercomponents/servers/{name}/
webappcomponents/webapps/{name}/
helmcomponents/helm_charts/{name}/
integration-testingcomponents/testing/integration/{name}/
e2e-testingcomponents/testing/e2e/{name}/
cicdcomponents/cicds/{name}/

The {name} placeholder is replaced with the component's name from sdd-settings.yaml. Delegate to the techpack-settings skill for the authoritative directory patterns and naming conventions.


Settings Update

After scaffolding a component, the project's sdd-settings.yaml must be updated with the new component entry. This is handled via a declared actions response returned to the orchestrating skill.

The scaffolding skill returns a declared actions response that includes:

  1. Component entry -- the new component's name, type, and type-specific settings to add to sdd-settings.yaml.
  2. Dependencies -- any depends_on relationships the new component declares.

The calling orchestrator (typically the change-orchestration skill) is responsible for applying the settings update by delegating to the techpack-settings skill.


Orchestration Flow

1. Read SPEC.md Components section for new components
2. Read sdd-settings.yaml for existing components
3. Identify components that need scaffolding (new - existing)
4. Sort by orchestration order (above)
5. For each component to scaffold:
   a. Resolve scaffolding skill from delegation table
   b. Invoke component scaffolding skill with component settings
   c. Collect declared actions response (settings update)
   d. Apply settings update to sdd-settings.yaml
6. Return aggregated results

Input / Output

This skill defines no input parameters or structured output. It is consumed as orchestration guidance by the planning and change-orchestration skills.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

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

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

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

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

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

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

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

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

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

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

查看 LiorCohen 的全部技能

报告此技能的问题