tech-scaffolder
Agent: Tech Architect
L2 technical architect (1x) responsible for feasibility assessment, system design, API contract definition, and infrastructure planning. Ensures technical decisions support product goals and scale requirements.
Department ethos: ideal-engineering.md
Skill Description
Creates the initial technical scaffold, project structure, tooling configuration, and foundational code for a new system or service.
When to Use
- When a new service, library, or application needs to be bootstrapped from scratch with consistent conventions.
- When the architecture design is complete and the team needs a working skeleton to begin implementation against.
- When multiple teams are starting new projects and need a standardized starting point to ensure consistency across the codebase.
Workflow
- Gather requirements: Collect the technology stack decisions, target runtime, deployment model, and team conventions from the architecture design. Deliverable: scaffold requirements checklist.
- Define directory structure: Design the folder layout including source directories, test directories, configuration, CI/CD templates, and documentation stubs. Deliverable: directory tree specification.
- Configure tooling: Set up build system, linter, formatter, test runner, and dependency management. Pin dependency versions and configure pre-commit hooks. Deliverable: configuration files (e.g., tsconfig, eslint, Makefile, pyproject.toml).
- Create foundational code: Write the entry point, health-check endpoint, structured logging setup, and a sample test to validate the scaffold works end-to-end. Deliverable: runnable project skeleton.
- Set up CI/CD baseline: Configure the CI pipeline to build, lint, test, and produce a deployable artifact. Include a minimal deployment configuration for the target environment. Deliverable: CI/CD pipeline definition file.
- Document and hand off: Write a README covering how to run, test, and deploy the project locally. Record architectural decisions in an ADR. Deliverable: README and initial ADR.
Anti-Patterns
- Scaffold bloat: Including every possible library, middleware, and configuration option upfront. Why: over-scaffolding creates cognitive overhead and maintenance burden for features the team may never use.
- Copy-paste from last project: Cloning an old project and stripping it down instead of building from deliberate choices. Why: inherited configuration carries assumptions and technical debt from a different context.
- No working CI on day one: Scaffolding the project without a green CI pipeline. Why: a broken or missing pipeline from the start normalizes red builds and delays feedback loops.
Output
On success: Produces a runnable project skeleton with directory structure, tooling configuration, foundational code, CI/CD pipeline, and documentation. Delivered as an initialized repository ready for the team to begin feature development.
On failure: Report which scaffold elements could not be created (e.g., missing stack decisions, unavailable base images), what decisions are blocking, and recommended steps to unblock.
Related Skills
architecture-designer -- the architecture design drives the stack and structure choices that the scaffold implements.
api-contract-definer -- API contracts determine which endpoints and interfaces the scaffold must stub out.
performance-budget-setter-eng — sibling skill under the same agent — combine with performance-budget-setter-eng for end-to-end coverage
scale-infrastructure-planner — sibling skill under the same agent — combine with scale-infrastructure-planner for end-to-end coverage
1---2name: tech-scaffolder3description: This skill creates the initial technical scaffold and project structure for a new system. Use when asked to bootstrap a new service, set up a project skeleton, or define the initial folder and configuration layout. Also consider when a team is starting a greenfield build without agreed conventions. Suggest when engineers are about to create a new repository without a template.4---56# tech-scaffolder78## Agent: Tech Architect910L2 technical architect (1x) responsible for feasibility assessment, system design, API contract definition, and infrastructure planning. Ensures technical decisions support product goals and scale requirements.1112Department ethos: [ideal-engineering.md](../../../../departments/engineering/ideal-engineering.md)1314## Skill Description1516Creates the initial technical scaffold, project structure, tooling configuration, and foundational code for a new system or service.1718## When to Use1920- When a new service, library, or application needs to be bootstrapped from scratch with consistent conventions.21- When the architecture design is complete and the team needs a working skeleton to begin implementation against.22- When multiple teams are starting new projects and need a standardized starting point to ensure consistency across the codebase.2324## Workflow25261. **Gather requirements**: Collect the technology stack decisions, target runtime, deployment model, and team conventions from the architecture design. Deliverable: scaffold requirements checklist.272. **Define directory structure**: Design the folder layout including source directories, test directories, configuration, CI/CD templates, and documentation stubs. Deliverable: directory tree specification.283. **Configure tooling**: Set up build system, linter, formatter, test runner, and dependency management. Pin dependency versions and configure pre-commit hooks. Deliverable: configuration files (e.g., tsconfig, eslint, Makefile, pyproject.toml).294. **Create foundational code**: Write the entry point, health-check endpoint, structured logging setup, and a sample test to validate the scaffold works end-to-end. Deliverable: runnable project skeleton.305. **Set up CI/CD baseline**: Configure the CI pipeline to build, lint, test, and produce a deployable artifact. Include a minimal deployment configuration for the target environment. Deliverable: CI/CD pipeline definition file.316. **Document and hand off**: Write a README covering how to run, test, and deploy the project locally. Record architectural decisions in an ADR. Deliverable: README and initial ADR.3233## Anti-Patterns3435- **Scaffold bloat**: Including every possible library, middleware, and configuration option upfront. *Why*: over-scaffolding creates cognitive overhead and maintenance burden for features the team may never use.36- **Copy-paste from last project**: Cloning an old project and stripping it down instead of building from deliberate choices. *Why*: inherited configuration carries assumptions and technical debt from a different context.37- **No working CI on day one**: Scaffolding the project without a green CI pipeline. *Why*: a broken or missing pipeline from the start normalizes red builds and delays feedback loops.3839## Output4041**On success**: Produces a runnable project skeleton with directory structure, tooling configuration, foundational code, CI/CD pipeline, and documentation. Delivered as an initialized repository ready for the team to begin feature development.4243**On failure**: Report which scaffold elements could not be created (e.g., missing stack decisions, unavailable base images), what decisions are blocking, and recommended steps to unblock.4445## Related Skills4647- [`architecture-designer`](../../../engineering/tech-architect/architecture-designer/SKILL.md) -- the architecture design drives the stack and structure choices that the scaffold implements.48- [`api-contract-definer`](../../../engineering/tech-architect/api-contract-definer/SKILL.md) -- API contracts determine which endpoints and interfaces the scaffold must stub out.49- [`performance-budget-setter-eng`](../performance-budget-setter-eng/SKILL.md) — sibling skill under the same agent — combine with performance-budget-setter-eng for end-to-end coverage50- [`scale-infrastructure-planner`](../scale-infrastructure-planner/SKILL.md) — sibling skill under the same agent — combine with scale-infrastructure-planner for end-to-end coverage