One-click install
npx skills add https://github.com/bluejayA/devflow-aidlc-like --skill aidlc-code-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aidlc-code-generation
Source: https://github.com/bluejayA/devflow-aidlc-like/tree/main/skills/aidlc-code-generation
Command: npx skills add https://github.com/bluejayA/devflow-aidlc-like --skill aidlc-code-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of planning and generating code, ensuring adherence to TDD principles and streamlining the development workflow.

Core Features & Use Cases

  • Two-Stage Code Generation: First, creates a detailed code plan with testable steps. Second, executes the approved plan using a TDD cycle (RED, GREEN, REFACTOR).
  • Structured Planning: Generates markdown plans outlining files to create/modify, implementation steps, and test strategies.
  • Use Case: A developer needs to implement a new notification-service. They use this Skill to generate a plan, get it approved by the orchestrator, and then have the Skill automatically write the code following the TDD protocol.

Quick Start

Use the aidlc-code-generation skill to create a code generation plan for the 'user-profile' unit.

Frequently Asked Questions about aidlc-code-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code generation with TDD in my development workflow?

Automating code generation with TDD involves a two-stage process: generating a markdown code plan for file modifications and test strategies, then executing TDD-based code writing upon orchestrator approval. This enforces structured development workflows and testing protocols.

What is a structured code plan and when do I need one for unit testing?

A structured code plan is a markdown document detailing files to create or modify, implementation steps, and test strategies. You need one before writing code to ensure adherence to TDD principles and to get orchestrator approval for the development workflow.

How to generate a code implementation plan for a new service unit?

To generate a code implementation plan, use the two-stage generation process to create a markdown plan outlining file modifications, implementation steps, and test strategies. After orchestrator approval, the plan executes automatically using a TDD cycle of RED, GREEN, and REFACTOR.

Can I modify the code plan before the TDD execution begins?

Yes, the two-stage code generation process requires orchestrator approval before executing the TDD-based code. This allows you to review and modify the markdown plan detailing file modifications and test strategies before actual code writing begins.

Does the TDD code generation follow standard RED, GREEN, REFACTOR cycles?

Yes, the TDD code generation executes the approved plan using the standard RED, GREEN, REFACTOR cycle. This ensures structured development workflows and strict adherence to testing protocols during automated code generation.

What are the limitations of automated TDD code generation?

Automated TDD code generation requires an orchestrator to approve the markdown plan before implementation begins. It relies on this two-stage approval process and is limited to structured development workflows that adhere to predefined testing protocols.