Code Scaffolding

Generate boilerplate code for new modules, services, and components

16 stars

Best use case

Code Scaffolding is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Generate boilerplate code for new modules, services, and components

Teams using Code Scaffolding should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/code-scaffolding/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/code-scaffolding/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/code-scaffolding/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Code Scaffolding Compares

Feature / AgentCode ScaffoldingStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Generate boilerplate code for new modules, services, and components

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Code Scaffolding Skill

Generate boilerplate code for new modules, services, and components.

## Trigger Conditions
- New module or service creation command
- User invokes with "scaffold" or "create service" or "new module"

## Input Contract
- **Required:** Template type (service, module, component, API endpoint)
- **Required:** Name and basic configuration
- **Optional:** Technology stack preferences, feature flags

## Output Contract
- Generated files following project conventions
- Directory structure with all required files
- Configuration stubs (tests, CI, docs)

## Tool Permissions
- **Read:** Project templates, coding standards, existing patterns
- **Write:** New files in target directory
- **Execute:** Code generation tools

## Execution Steps
1. Determine template type and target location
2. Load project conventions and coding standards
3. Generate directory structure
4. Create source files with boilerplate following conventions
5. Create test file stubs
6. Create documentation stubs (README, API docs)
7. Verify generated code compiles/lints clean

## Success Criteria
- Generated code follows project coding standards
- Test stubs included for all public interfaces
- Documentation stubs included
- Code compiles/lints without errors

## Escalation Rules
- Escalate if no matching template exists for the request
- Escalate if scaffolding conflicts with existing code

## Example Invocations

**Input:** "Scaffold a new Go microservice called 'notification-service'"

**Output:** Created: cmd/notification-service/main.go, internal/notification/handler.go, internal/notification/service.go, internal/notification/repository.go, internal/notification/handler_test.go, Dockerfile, README.md. All follow clean architecture pattern with dependency injection. Health check endpoint included.

Related Skills

api-scaffolding-fastapi-pro

16
from diegosouzapw/awesome-omni-skill

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture. Use when: the request is FastAPI focused (APIRouter, dependency injection, Pydantic models, async endpoint implementation). Do not use when: the request is Django ORM/admin oriented or primarily GraphQL schema and resolver architecture.

api-scaffolding-django-pro

16
from diegosouzapw/awesome-omni-skill

Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns. Use when: the request is Django or DRF focused (models, migrations, admin, serializers, viewsets, manage.py). Do not use when: the request is FastAPI/Pydantic/SQLAlchemy specific or centered on GraphQL schema-first design.

api-scaffolding-backend-architect

16
from diegosouzapw/awesome-omni-skill

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and observability. Use PROACTIVELY when creating new backend services or APIs. Use when: a broad backend architecture plan is requested across multiple API styles or services. Do not use when: the user asks for concrete framework-level implementation details better handled by a framework-specific skill.

abp-contract-scaffolding

16
from diegosouzapw/awesome-omni-skill

Generate ABP Application.Contracts layer scaffolding (interfaces, DTOs, permissions) from technical design. Enables parallel development by abp-developer and qa-engineer. Use when: (1) backend-architect needs to generate contracts, (2) preparing for parallel implementation workflow, (3) creating API contracts before implementation.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

fastapi-python-expert

16
from diegosouzapw/awesome-omni-skill

Use this agent when you need to design, implement, or optimize FastAPI backend applications. This includes API endpoint creation, database integration, authentication/authorization implementation, cloud deployment strategies, business logic architecture, performance optimization, and following FastAPI best practices.

fastapi-project

16
from diegosouzapw/awesome-omni-skill

Scaffold and evolve FastAPI projects with uv-based tooling, structured settings, and production-ready observability, resilience, availability, and security patterns aligned with python.instructions.md.

fastapi-pro

16
from diegosouzapw/awesome-omni-skill

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

fastapi-patterns

16
from diegosouzapw/awesome-omni-skill

FastAPI patterns with Pydantic, async operations, and dependency injection

fastapi

16
from diegosouzapw/awesome-omni-skill

FastAPI Python framework. Covers REST APIs, validation, dependencies, security. Keywords: Pydantic, async, OAuth2, JWT.

fastapi-expert

16
from diegosouzapw/awesome-omni-skill

Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke for async SQLAlchemy, JWT authentication, WebSockets, OpenAPI documentation.

fastapi-development

16
from diegosouzapw/awesome-omni-skill

Modern Python API development with FastAPI covering async patterns, Pydantic validation, dependency injection, and production deployment