code-init

Scaffold a runnable local project from an empty directory with a structured plan.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/pycode4micro/bushserver --skill code-init-pycode4micro
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-init
Source: https://github.com/pycode4micro/bushserver/tree/main/src/bushserver/seeds/skills/package/code-init
Command: npx skills add https://github.com/pycode4micro/bushserver --skill code-init-pycode4micro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

code-init helps you create a brand-new, runnable codebase from scratch without accidentally applying refactor/debug/update logic to an existing repository.

Core Features & Use Cases

  • 0→1 project scaffolding: generates a complete, runnable local project when the target directory is empty or intentionally new.
  • Architecture-first workflow: enforces a plan-driven process (patterns, structure, and validation) before implementation.
  • Boundary-safe guidance: avoids using this skill for modifications, optimizations, refactors, debugging, or extensions of existing code.
  • Optional frontend reference gate: when the user asks to match an existing page/site, it captures reference artifacts before writing any UI code.

Quick Start

Use the code-init skill when you explicitly want a new project scaffold from scratch, for example: "Create a new Python FastAPI service in a new folder called myapp, including the complete runnable structure."

Frequently Asked Questions about code-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a runnable project from scratch in an empty directory?▼

Scaffolding a runnable project from scratch requires generating code in an empty or intentionally new directory while enforcing an init-only boundary. This process loads mandatory planning references, produces a structured implementation plan, generates code with file-decomposition constraints, and runs validation with explicit status reporting.

Can I use project initialization to modify or refactor an existing codebase?▼

Project initialization cannot modify or refactor an existing codebase. It enforces a strict init-only boundary against existing-repo edits, meaning it applies exclusively to 0-to-1 creation of apps, services, scripts, and sites rather than updates, optimizations, debugging, or extensions.

What's the best way to plan architecture before generating a new codebase?▼

Architecture planning before generating a new codebase uses an architecture-first workflow that enforces a plan-driven process. It loads mandatory planning references to identify patterns and structure, produces a structured implementation plan, and defines validation steps before any implementation begins.

Does frontend initialization support matching an existing page or site design?▼

Frontend initialization supports matching an existing page or site design through an optional frontend reference gate. When asked to match an existing page, it captures reference artifacts and performs reference-aligned visual capture for UI similarity before writing any UI code.

How do I validate a newly generated codebase after scaffolding?▼

Validating a newly generated codebase after scaffolding involves running validation with explicit status reporting. The scaffolding process completes by generating code with file-decomposition constraints and executing this validation step to ensure the local project is runnable.

When should I not use code generation for project initialization?▼

Code generation for project initialization should not be used for modifications, optimizations, refactors, debugging, or extensions of existing code. It is designed exclusively for 0-to-1 creation of new apps, services, scripts, and sites in empty or intentionally new directories.