本文へ移動
cccskills
無料GitHub で公開

role-developer

Developer role in AID methodology. Use for implementation, debugging, technical design, TDD workflow, code review.

インストール方法を見る

含まれるファイル(8)

  • SKILL.md2.5 KB
  • references/condition-based-waiting.ts7.5 KB
  • references/debugging-checklist.md3.6 KB
  • references/defense-in-depth.ts8.8 KB
  • references/root-cause-tracing.md6.5 KB
  • scripts/check-file-size.sh6.8 KB
  • scripts/find-polluter.sh3.9 KB
  • SKILL.extended.md4.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

  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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

AID Phase 4 - Development phase. Use for implementing features, TDD practices, code reviews, transitioning from planning to QA.

日本語の概要は準備中です。原文の説明を表示しています。

ilandahan/AID102026年9月23日 更新

AID Phase 0 - Research & discovery. Use for validating problem spaces, identifying stakeholders, defining success metrics, deciding whether to proceed.

日本語の概要は準備中です。原文の説明を表示しています。

ilandahan/AID102026年9月23日 更新

AID Phase 3 - Implementation Planning with consolidation-first approach. Resolves contradictions between PRD and Tech Spec, creates consolidated master document, then breaks down into actionable tasks and populates Jira. Includes sprint planning and risk assessment.

日本語の概要は準備中です。原文の説明を表示しています。

ilandahan/AID102026年9月23日 更新

aid-prd

無料

AID Phase 1 - PRD creation. Use for user stories, acceptance criteria, scoping features, transitioning from discovery to tech spec.

日本語の概要は準備中です。原文の説明を表示しています。

ilandahan/AID102026年9月23日 更新

AID Phase 5 - QA and Release. Use for validating implementations, acceptance tests, preparing releases, deployment, operational readiness.

日本語の概要は準備中です。原文の説明を表示しています。

ilandahan/AID102026年9月23日 更新

AID Phase 2 - Technical Specification. Use for system architecture, API contracts, data models, security architecture, transitioning from PRD to implementation.

日本語の概要は準備中です。原文の説明を表示しています。

ilandahan/AID102026年9月23日 更新

ilandahan のスキルをすべて見る

このスキルの問題を報告する