スキル一覧に戻る
LerianStudio

ringdev-implementation

by LerianStudio

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

SKILL.md


name: "ring:dev-implementation" description: | Gate 0 of the development cycle. Executes code implementation using the appropriate specialized agent based on task content and project language. Handles TDD workflow with RED-GREEN phases. Follows project standards defined in docs/PROJECT_RULES.md. license: MIT compatibility: platforms: - opencode

metadata: version: "1.0.0" author: "Lerian Studio" category: development trigger: - Gate 0 of development cycle - Tasks loaded at initialization - Ready to write code sequence: before: [ring:dev-devops]

Code Implementation (Gate 0)

Overview

This skill executes the implementation phase of the development cycle:

  • Selects the appropriate specialized agent based on task content
  • Applies project standards from docs/PROJECT_RULES.md (if exists, otherwise uses Ring defaults)
  • Follows TDD methodology (RED -> GREEN -> REFACTOR)
  • Documents implementation decisions

If PROJECT_RULES.md not found: Use Ring Standards from {OPENCODE_CONFIG}/standards/. Optionally offer to create PROJECT_RULES.md from {OPENCODE_CONFIG}/templates/PROJECT_RULES.md.

Role Clarification

This skill ORCHESTRATES. Agents IMPLEMENT.

WhoResponsibility
This SkillSelect agent, prepare prompts, track state, validate outputs
Implementation AgentWrite tests, write code, follow standards

Required Input

  • unit_id: Task/subtask being implemented
  • requirements: Acceptance criteria or task description
  • language: go / typescript / python
  • service_type: api / worker / batch / cli / frontend / bff

Agent Selection

LanguageService TypeAgent
GoAPI, Worker, Batch, CLIring:backend-engineer-golang
TypeScriptAPI, Workerring:backend-engineer-typescript
TypeScriptFrontendring:frontend-engineer
React/CSSDesign, Stylingring:frontend-designer

Gate 0.1: TDD-RED (Write Failing Test)

Task:
  subagent_type: "[selected_agent]"
  description: "TDD-RED: Write failing test for [unit_id]"
  prompt: |
    TDD-RED PHASE: Write a FAILING Test

    ## Requirements
    [requirements]

    ## Your Task
    1. Write a test that captures the expected behavior
    2. The test MUST FAIL (no implementation exists yet)
    3. Run the test and capture the FAILURE output

    ## Required Output
    ### Test File
    **Path:** [path/to/test_file]

    ### Failure Output (MANDATORY)
    ```
    [actual test failure output]
    ```

    HARD GATE: Without failure output, TDD-RED is NOT complete.

Gate 0.2: TDD-GREEN (Implementation)

PREREQUISITE: TDD-RED completed with failure output

Task:
  subagent_type: "[selected_agent]"
  description: "TDD-GREEN: Implement code to pass test"
  prompt: |
    TDD-GREEN PHASE: Make the Test PASS

    ## TDD-RED Results
    - Test File: [test_file]
    - Failure Output: [failure_output]

    ## Your Task
    1. Write MINIMAL code to make the test pass
    2. Follow ALL Ring Standards (logging, tracing, error handling)
    3. Run the test and capture the PASS output

    ## Required Output
    ### Implementation Files
    | File | Action | Lines |
    |------|--------|-------|

    ### Pass Output (MANDATORY)
    ```
    [actual test pass output]
    ```

    ### Standards Compliance
    - Structured Logging: ✅/❌
    - OpenTelemetry Spans: ✅/❌
    - Error Handling: ✅/❌
    - Context Propagation: ✅/❌

Output Schema

## Implementation Summary
**Status:** PASS/FAIL/PARTIAL
**Unit ID:** [unit_id]
**Agent:** [selected_agent]
**Commit:** [sha]

## TDD Results
| Phase | Status | Output |
|-------|--------|--------|
| RED | ✅/❌ | [summary] |
| GREEN | ✅/❌ | [summary] |

## Files Changed
| File | Action | Lines |
|------|--------|-------|
| [path] | Created/Modified | +/-N |

## Standards Compliance
- Structured Logging: ✅
- OpenTelemetry Spans: ✅
- Error Handling: ✅
- Context Propagation: ✅

## Handoff to Next Gate
- Implementation status: COMPLETE
- Code compiles: ✅
- Tests pass: ✅
- Standards met: ✅
- Ready for Gate 1 (DevOps): YES

Pressure Resistance

User SaysResponse
"Skip TDD, just implement""TDD is MANDATORY. Dispatching agent for RED phase."
"Code exists, just add tests""DELETE existing code. TDD requires test-first."
"Add observability later""Observability is part of implementation. Agent MUST add it now."

Anti-Rationalization

RationalizationWhy WrongRequired Action
"Test passes on first run"Passing test ≠ TDD. Test MUST fail first.Rewrite test to fail first
"Skip RED, go straight to GREEN"RED proves test validityExecute RED phase first
"I'll add observability later"Later = never. Observability is part of GREEN.Add logging + tracing NOW
"DEFERRED to later tasks"DEFERRED = FAILED. Standards are not deferrable.Implement ALL standards NOW

スコア

総合スコア

50/100

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

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

レビュー

💬

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