peterkimpro

scaffold

0
0
# Install this skill:
npx skills add peterkimpro/claude-code-powerpack --skill "scaffold"

Install specific skill from multi-skill repository

# Description

Scaffold a new module, feature, or component following existing project patterns. Invoke with a name and brief description.

# SKILL.md


name: scaffold
description: Scaffold a new module, feature, or component following existing project patterns. Invoke with a name and brief description.
disable-model-invocation: true


Scaffold: $ARGUMENTS

Steps:

  1. Read 2-3 existing similar files in the codebase to understand the exact patterns used (naming, exports, imports, file structure).

  2. Create the new file(s) following those patterns precisely โ€” do not introduce new conventions.

  3. If the project has an index/barrel file or a registry, add the new module there.

  4. Create a corresponding test file following the test patterns in the codebase. Add at minimum:

  5. One test that verifies the module exists and exports correctly
  6. One test for the primary happy path

  7. Run the type checker and linter to confirm no errors:
    bash # adjust commands to match this project's stack

  8. Report what was created and what still needs to be implemented (stub TODOs).

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.