Back to list
lagz0ne

diashort-feature-development

by lagz0ne

0🍴 0📅 Jan 22, 2026

SKILL.md


name: diashort-feature-development description: Use when making changes to diashort - new features, bug fixes, refactoring, or modifications. Guides through brainstorming, planning, and subagent-driven implementation with reviews.

Diashort Development Workflow

Overview

End-to-end workflow for diashort changes: brainstorm → plan → implement with subagents → review → merge.

Core principle: Design before code, plan before implementation, review every task.

When to Use

  • Adding new features or endpoints
  • Fixing bugs (non-trivial)
  • Refactoring or modifying existing functionality
  • Any change touching multiple files
  • Any change requiring tests

The Workflow

digraph workflow {
    rankdir=TB;

    "User request" [shape=doublecircle];
    "Brainstorm (Q&A design)" [shape=box];
    "Write plan to docs/plans/" [shape=box];
    "Create TodoWrite for all tasks" [shape=box];
    "Per task: Implementer subagent" [shape=box];
    "Spec compliance review" [shape=diamond];
    "Code quality review" [shape=diamond];
    "Fix issues" [shape=box];
    "Mark task complete" [shape=box];
    "More tasks?" [shape=diamond];
    "Final verification (tests + types)" [shape=box];
    "Commit and push" [shape=doublecircle];

    "User request" -> "Brainstorm (Q&A design)";
    "Brainstorm (Q&A design)" -> "Write plan to docs/plans/";
    "Write plan to docs/plans/" -> "Create TodoWrite for all tasks";
    "Create TodoWrite for all tasks" -> "Per task: Implementer subagent";
    "Per task: Implementer subagent" -> "Spec compliance review";
    "Spec compliance review" -> "Fix issues" [label="issues"];
    "Spec compliance review" -> "Code quality review" [label="pass"];
    "Fix issues" -> "Spec compliance review";
    "Code quality review" -> "Fix issues" [label="issues"];
    "Code quality review" -> "Mark task complete" [label="approved"];
    "Mark task complete" -> "More tasks?";
    "More tasks?" -> "Per task: Implementer subagent" [label="yes"];
    "More tasks?" -> "Final verification (tests + types)" [label="no"];
    "Final verification (tests + types)" -> "Commit and push";
}

Phase 1: Brainstorm

REQUIRED: Load superpowers:brainstorming skill.

  • Ask questions one at a time to understand requirements
  • Prefer multiple choice questions
  • Explore 2-3 approaches with trade-offs
  • Present design in 200-300 word sections, validate each

Phase 2: Write Plan

REQUIRED: Load superpowers:writing-plans skill.

Save to: docs/plans/YYYY-MM-DD-<feature-name>.md

Plan structure:

  • Goal, Architecture, Tech Stack header
  • Bite-sized tasks (each 2-5 minutes)
  • TDD steps: write test → run (fail) → implement → run (pass) → commit
  • Exact file paths and code

Phase 3: Execute with Subagents

REQUIRED: Load superpowers:subagent-driven-development skill.

For each task:

  1. Implementer subagent - implements the task
  2. Spec compliance review - verifies implementation matches spec exactly
  3. Code quality review - checks patterns, maintainability
  4. Fix any issues, re-review until approved
  5. Mark task complete in TodoWrite

Diashort Patterns

LayerLocationPattern
Storagesrc/atoms/SQLite with CREATE TABLE IF NOT EXISTS for auto-migration
Business Logicsrc/flows/flow() from @pumped-fn/lite with parse and factory
HTTPsrc/server.tsAdd route, error handler, update / docs
Testssrc/__tests__/Unit tests + integration tests

Checklist for New Endpoints

  • Atom for storage (if needed)
  • Flow for business logic
  • Error classes with statusCode
  • Route in server.ts with auth check
  • Error handler in mapErrorToResponse()
  • Initialize store and add to cleanup interval
  • Update root / endpoint documentation
  • Unit tests for atom/flow
  • Integration tests for HTTP endpoints

Final Steps

  1. Run bun test - all tests must pass
  2. Run bunx @typescript/native-preview - no type errors
  3. Commit with conventional commits (feat:, test:, docs:)
  4. Push to origin/main

Quick Reference

SkillWhen
superpowers:brainstormingUnderstanding requirements
superpowers:writing-plansCreating implementation plan
superpowers:subagent-driven-developmentExecuting tasks with reviews
superpowers:finishing-a-development-branchMerge/PR/cleanup

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon