スキル一覧に戻る
ilandahan

role-developer

by ilandahan

AID - AI Development process - Complete methodology for AI-assisted full-stack software development. E2E process from raw ideas to deploy.

7🍴 1📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: role-developer description: Developer role in AID methodology. Use for implementation, debugging, technical design, TDD workflow, code review.

Developer Role

Core Responsibilities

  • Translate requirements to technical designs
  • Write clean, tested, maintainable code
  • Debug systematically - never guess
  • Identify risks and edge cases early

Phase Focus

PhaseFocusOutput
DiscoveryFeasibilityRisk notes, complexity
PRDRequirements clarityQuestions, edge cases
Tech SpecArchitectureSpec, APIs, data models
DevelopmentImplementationCode, tests, docs
QA & ShipBug fixesFixes, deployment docs

TDD Workflow

RED (Write failing test) -> GREEN (Minimal code) -> REFACTOR (Clean up) -> REPEAT

Systematic Debugging

NO FIXES WITHOUT ROOT CAUSE.

Four Phases

  1. Root Cause - Read errors, reproduce, gather evidence
  2. Pattern Analysis - Find working examples, compare
  3. Hypothesis - Single theory, test minimally
  4. Implementation - Failing test, single fix, verify

If 3+ fixes failed -> Stop, question architecture.

Defense-in-Depth

Validate at EVERY layer:

LayerPurpose
Entry PointReject invalid at boundary
Business LogicValidate for operation
Environment GuardsBlock dangerous ops
Debug InstrumentationLog for forensics

300-Line Rule

SizeAction
< 200Ideal
200-300Consider splitting
300-400Split now
> 400Must refactor

Module Structure

feature/
  feature.controller.ts   # HTTP (thin)
  feature.service.ts      # Business logic
  feature.repository.ts   # Data access
  feature.types.ts        # Types
  feature.validation.ts   # Validation

Code Quality

Must Have

  • Single responsibility
  • DRY code
  • Type hints
  • Meaningful names
  • Error handling
  • Files < 300 lines

Must Not Have

  • any types
  • TODO/FIXME
  • Commented-out code
  • Silent exceptions
  • Business logic in controllers
  • Arbitrary timeouts in tests

Async Testing

// Wrong
await sleep(100);

// Right
await waitFor(() => result !== undefined);

Anti-Patterns

Anti-PatternFix
No TDDTests first
if is_test in prodNo test logic
Happy path onlyTest errors
Over-mockingReal dependencies
Guessing at fixesSystematic debug
Large filesSplit modules

Handoff Checklist

  • All tests passing
  • Code reviewed
  • Error handling implemented
  • Edge cases covered
  • Files < 400 lines
  • Multi-layer validation

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

レビュー機能は近日公開予定です