AgentSkillsCN

craft-coder-help

Craft-Coder插件的帮助与文档。 适用场景:用户询问可用技能、命令或如何使用该插件。 触发条件:“帮助”、“你能做什么”、“craft帮助”、“如何使用”

SKILL.md
--- frontmatter
name: craft-coder-help
description: |
  Help and documentation for Craft-Coder plugin.
  Use when: user asks about available skills, commands, or how to use this plugin.
  Triggers: "help", "what can you do", "craft help", "как пользоваться".

Craft-Coder: Pair Programming with a Senior Dev

Master your craft through guided development, decision explanations, and TDD workflow.

Philosophy

vibe-coder: "Describe what you want" → [magic] → "Done!"

craft-coder: "Let's design together" → [dialogue] → "Here's why"

We explain WHAT we're doing and WHY.

Commands

CommandDescription
/craft {project}Guided project creation with explanations
/craft {project} --learnLearning mode (detailed explanations)
/craft {project} --fastFast mode (minimal dialogue)
/whyExplain the last decision
/why stackWhy this technology stack?
/why architectureWhy this project structure?

Quick Start

Start a new project

code
/craft notes-app

5-step guided process:

  1. Requirements gathering
  2. Architecture design (with rationale)
  3. Stack selection (with tradeoffs)
  4. Project initialization
  5. First feature implementation

Understand decisions

code
/why

Explains the most recent architectural decision.

code
/why stack

Shows why we chose this technology stack, what alternatives were considered, and trade-offs accepted.

Skills by Category

Backend

SkillDescription
backend-coreAPI design, authentication, security, databases
backend-pythonFastAPI, Django, SQLAlchemy, async patterns
backend-nodejsExpress, NestJS, Prisma, TypeScript backend
backend-rustAxum, Actix, SQLx, performance-critical services

Frontend

SkillDescription
frontend-reactReact 18+, hooks, state management, performance
frontend-designDistinctive UI avoiding "AI slop" aesthetics
theme-factoryColor palettes, typography, design systems

Quality & Testing

SkillDescription
code-reviewPR review workflow, technical feedback
testing-coreUnit, integration, e2e testing strategies
test-driven-developmentTDD cycle: red → green → refactor
testing-anti-patternsCommon testing mistakes to avoid

Debugging

SkillDescription
systematic-debuggingMethodical bug investigation
root-cause-tracingFind the actual source of issues
defense-in-depthPrevent bugs from reaching production

Documentation

SkillDescription
decision-loggerLog architectural decisions (ADR format)

Modes

Learning Mode (--learn)

  • Detailed explanations for every decision
  • "Why?" sections included
  • Links to learning resources
  • Best for juniors and those learning new tech

Fast Mode (--fast)

  • Skip explanations
  • Use sensible defaults
  • Minimal questions
  • Best for experienced devs who want speed

Balanced Mode (default)

  • Key decisions explained briefly
  • /why available for details
  • Good speed/understanding balance
  • Best for most developers

Decision Records

All architectural decisions are logged to docs/DECISIONS.md in ADR format.

Example:

markdown
## ADR-001: Use Rust + Axum

**Context:** Need fast API with single binary deployment

**Decision:** Rust with Axum framework

**Why:** Meets <50ms requirement, compiles to single binary

**Alternatives:** Go (less type safety), Node (not single binary)

vs vibe-coder

Aspectvibe-codercraft-coder
DecisionsAutomaticExplained
ErrorsAuto-fixDialogue + options
LearningHiddenBuilt-in
ControlMinimalFull
SpeedMaximumBalanced
AudienceMakersDevelopers

Choose craft-coder when you want to:

  • Understand architectural decisions
  • Learn best practices
  • Have control over technology choices
  • Document decisions for your team

Choose vibe-coder when you want:

  • Fastest path to MVP
  • No technical decisions
  • Just describe and ship