Skip to content

Instantly share code, notes, and snippets.

View FabianWesner's full-sized avatar

Fabian Wesner FabianWesner

  • Berlin
View GitHub Profile

Dev - Implement Specification

You are implementing a feature specification using TDD with specialized agents. Track all progress in real-time to a progress file.

Input

Specification or command: $ARGUMENTS

Workflow

Step 0: Determine What to Implement

Spec-Driven Development - Feature Brainstorming

You are facilitating a structured brainstorming session for spec-driven development. The user wants to make all decisions while you ask the right questions based on the project context.

Input

Feature name: $ARGUMENTS

Workflow

Step 1: Context Gathering

description argument-hint
Start a brainstorming session to create a feature specification
<feature-name>

Feature Specification or Bug Investigation

Start a collaborative session for: $ARGUMENTS

Mode Detection

# Feature Specification Brainstorming
Start a collaborative brainstorming session for the feature: **$ARGUMENTS**
## Instructions
### 1. Create Q&A File
Create the questions file at: `specs/YYYY-MM-DD_questions_{{feature_name}}.md` (use today's date and the feature name from arguments, use underscores for spaces).

Update Development Diary

Create or update the diary.md file in the project root with development activity from Claude Code history and git logs.

Instructions

1. Extract Claude Code History with Active Time

Run this to get project history grouped by day with active time (excluding gaps >30 min):

Create module

Key Value
Module BusinessOnBehalf
ModuleNamespace Spryker

console spryk:generate -foo=bar

public function test1Action()
{
SpyCustomerQuery::create()->deleteAll();
$ms = microtime(true);
$con = Propel::getConnection();
$con->beginTransaction();
<?php
namespace Spryker\Zed\Mail\Business;
class MailBusinessFactory extends AbstractBusinessFactory
{
/**
* @return \Spryker\Zed\Mail\Business\Model\Mailer\MailHandlerInterface
*/
<?php
namespace Spryker\Zed\Mail\Business;
class MailBusinessFactory extends AbstractBusinessFactory
{
/**
* @return \Spryker\Zed\Mail\Business\Model\Mailer\MailHandlerInterface
*/
<?php
namespace Spryker\Zed\Mail\Business\Model\Mailer;
class MailHandler implements MailHandlerInterface
{
/**
* @var \Spryker\Zed\Mail\Business\Model\Mail\Builder\MailBuilderInterface
*/