Skip to content
Development
Skill

/scaffolding

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

From plugin
sdd
4359 skills7 agents3 commands

Claude Code

$ npx -y skills add LiorCohen/sdd --skill scaffolding --agent claude-code

SKILL.md

scaffolding.SKILL.md
name: scaffolding
description: Orchestrates component scaffolding by delegating to component-specific scaffolding skills.
user-invocable: false

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.

| Order | Component Type | Rationale | |-------|---------------|-----------| | 1 | `config` | Singleton, always first. All other components read from config. | | 2 | `contract` | API-first -- contracts define interfaces before implementations. | | 3 | `database` | Data layer before services that read/write data. | | 4 | `server` | Backend services depend on contracts and databases. | | 5 | `webapp` | Frontend applications consume contracts for type-safe API calls. | | 6 | `helm` | Deployment charts -- created after deployable components exist. | | 7 | `integration-testing` | Requires server and database to be scaffolded. | | 8 | `e2e-testing` | Requires server and webapp to be scaffolded. | | 9 | `cicd` | CI/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 Type | Scaffolding Skill Path | |---------------|----------------------| | `config` | `components/config/config-scaffolding` | | `contract` | `components/contract/contract-scaffolding` | | `database` | `components/database/database-scaffolding` | | `server` | `components/backend/backend-scaffolding` | | `webapp` | `components/frontend/frontend-scaffolding` | | `helm` | `components/helm/helm-scaffolding` | | `integration-testing` | `components/integration-testing/integration-testing-scaffolding` | | `e2e-testing` | `components/e2e-testing/e2e-testing-scaffolding` | | `cicd` | `components/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 Type | Directory Pattern | |---------------|------------------| | `config` | `components/config/` | | `contract` | `components/contracts/{name}/` | | `database` | `components/databases/{name}/` | | `server` | `components/servers/{name}/` | | `webapp` | `components/webapps/{name}/` | | `helm` | `components/helm_charts/{name}/` | | `integration-testing` | `components/testing/integration/{name}/` | | `e2e-testing` | `components/testing/e2e/{name}/` | | `cicd` | `components/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.

Read more
@liorcohen
Ships withsdd

Structure for AI-assisted development AI coding assistants are powerful but chaotic. You prompt, you get code, but then what?

4359 skills7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
43
Star history of LiorCohen/sdd on GitHub, a chart by star-history.com

Other skills on sdd.

agents-standards

agents-standards

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

@liorcohen@liorcohenInstall Skill
commands-standards

commands-standards

Standards for authoring SDD plugin commands — frontmatter, user interaction, skill/agent invocation, CLI integration, and output…

@liorcohen@liorcohenInstall Skill
commit

commit

Create a commit following repository guidelines with proper versioning and changelog updates.

@liorcohen@liorcohenInstall Skill
critic

critic

Two-step self-review at every task lifecycle phase. Step 1 (this skill) runs in-context to gather session signals — files read vs…

@liorcohen@liorcohenInstall Skill
d2

d2

D2 diagramming language reference for architecture diagrams, sequence diagrams, grid layouts, SQL tables, and class diagrams.…

@liorcohen@liorcohenInstall Skill
docs-standards

docs-standards

Writes and maintains user-facing documentation for the SDD plugin. Proactively detects when docs are out of sync with plugin…

@liorcohen@liorcohenInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about scaffolding.

Which coding agents can use scaffolding?
scaffolding installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.