Skip to content
aico-backend-plan logo

Plan

aico-backend-plan

Create or enhance backend tasks with detailed implementation steps. Supports TWO modes: MODE A: Enhance existing task (add detailed steps to task in file) MODE B: Create new standalone task file (can contain single or multiple tasks) IMPORTANT: This skill creates MICRO-LEVEL atomic steps, NOT m...

SKILL.md

Full skill instructions

Plan

⚠️ CRITICAL RULES - READ FIRST

  1. DETECT MODE: Determine if input is an existing task reference or a new requirement description

    • If input looks like story-user-api Task 1 or standalone-fix-auth Task 2: MODE A
    • If input is a new requirement (e.g., "Add user authentication"): MODE B
  2. MODE A - Enhance Existing Task:

    • Read the task file from docs/​reference/​backend/​tasks/
    • User must specify task number (e.g., "Task 1", "Task 2")
    • Add or update the "Implementation Steps" section for that specific task
    • Keep all other sections intact
    • Save back to the same file
  3. MODE B - Create Standalone Task File:

    • Analyze the requirement - is it simple (1 task) or complex (multiple tasks)?
    • If complex, break into multiple tasks (like task-breakdown does)
    • Use filename: standalone-{requirement-name}.md (kebab-case)
    • Save to docs/​reference/​backend/​tasks/
    • File format: same as story-based (multiple task sections)
  4. READ CONSTRAINTS FIRST:

    • Must read docs/​reference/​backend/​design-system.md for design tokens
    • Must read docs/​reference/​backend/​constraints.md for tech stack
    • If task references a design, read from docs/​reference/​backend/​designs/

Language Configuration

Before generating any content, check aico.json in project root for language field to determine the output language. If not set, default to English.

MODE A: Enhance Existing Task

Process

  1. Read task file: Get task details from docs/​reference/​backend/​tasks/​{task-file}.md
  2. Read design (if referenced): Load related design from docs/​reference/​backend/​designs/
  3. Read design system: Load docs/​reference/​backend/​design-system.md for design tokens
  4. Read constraints: Load docs/​reference/​backend/​constraints.md
  5. Break into atomic steps:
    • Start with file creation/​setup
    • One section/​feature per step
    • Include verification for each step
    • Do NOT include commit step (that happens during execution)
  6. Keep steps atomic: One action per step
  7. Update task file: Add/​replace "Implementation Steps" section
  8. Present summary: Show file location and what was added

Example

# Input: User runs /​backend.plan story-user-profile-2-header

# Output:
✓ Read task: docs/​reference/​backend/​tasks/​story-user-profile-2-header.md
✓ Added 4 implementation steps to task file

Steps added:
1. Create component file
2. Implement header layout
3. Add responsive styles
4. Add unit tests

Task ready for implementation. Use aico-backend-implement to execute.

MODE B: Create Standalone Task

Process

  1. Ask user for details:

    • Task type: feature | bugfix | improvement
    • Confirm task name (auto-generate from description)
  2. Read constraints:

    • Read design system and technical constraints
    • If user mentions a component, check existing code
  3. Generate complete task file:

    • All metadata (type, source, created, status)
    • Description
    • Context
    • Acceptance Criteria
    • Scope
    • Implementation Steps (detailed, atomic)
    • Notes
  4. Save task file: Write to docs/​reference/​backend/​tasks/​standalone-{task-name}.md

  5. Present summary: Show created file and next steps

Example

# Input: User runs /​backend.plan "Fix login button hover state"

# Interactive:
# Type: [feature | bugfix | improvement] → bugfix
# Task name: fix-login-button-hover (auto-generated, confirm?)

# Output:
✓ Created standalone task: standalone-fix-login-button-hover.md

Task includes:
- Description and context
- 2 acceptance criteria
- 3 implementation steps
- Test verification

Next: Use aico-backend-implement to execute this task

Implementation Steps Format

Both modes use the same step format:

## Implementation Steps

### Step 1: [Action]

**Files**:

- Create: `src/​components/[Name].tsx`
- Modify: `src/​pages/[Page].tsx:L10-L20`

**Action**:
[Exact code or action to take]

**Verify**:

```bash
[verification command]
```

Expected: [expected output]


Step 2: [Next Action]

...


## Step Granularity

Each step = ONE atomic action:

| Good Steps | Bad Steps |
|------------|-----------|
| Create component file with imports | Create component with all logic |
| Add component skeleton (empty return) | Implement entire component |
| Implement single section | Implement all sections |
| Write one test case | Write all tests |

## Step Types

### Setup Step
```markdown
**Files**: Create: `src/​components/​ProfileCard.tsx`
**Action**: Create file with basic structure
**Verify**: `npx tsc --noEmit` → No errors

Implementation Step

**Files**: Modify: `src/​components/​ProfileCard.tsx:L8-L10`
**Action**: Implement header section with Avatar and name
**Verify**: `npm run dev` → Component renders correctly

Test Step

**Files**: Create: `src/​components/​__tests__/​ProfileCard.test.tsx`
**Action**: Write unit test for profile name rendering
**Verify**: `npm test ProfileCard` → 1 test passed

Standalone Task File Template

For MODE B, see Task File Template for complete structure.

Use the same format as story-based tasks, just with:

  • Filename: standalone-{requirement-name}.md
  • Header: # Standalone Tasks: [Requirement Name]
  • No > **Story**: ... line

Note: For simple requirements, file may contain only 1 task. For complex requirements, break into multiple tasks.

Key Rules

  • ALWAYS include verification command for each step
  • MUST keep steps to 2-5 minutes of work
  • MUST save to docs/​reference/​backend/​tasks/ directory
  • NEVER combine multiple actions into one step
  • Do NOT include commit step in plan (commits happen during execution)
  • MODE A: Preserve all existing content, only add/​update steps
  • MODE B: Generate complete, self-contained task file

Common Mistakes

  • ❌ Steps too large → ✅ One action per step
  • ❌ Skip verification → ✅ Every step has verify command
  • ❌ Vague actions → ✅ Include exact code
  • ❌ Not saving to file → ✅ Always save task file
  • ❌ Including commit in steps → ✅ Commits happen during execution, not planning
  • ❌ MODE A: Overwriting existing content → ✅ Only update Implementation Steps section
  • ❌ MODE B: Missing metadata → ✅ Include all template sections

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View