CtrlK
BlogDocsLog inGet started
Tessl Logo

giuseppe-trisciuoglio/developer-kit

Comprehensive developer toolkit providing reusable skills for Java/Spring Boot, TypeScript/NestJS/React/Next.js, Python, PHP, AWS CloudFormation, AI/RAG, DevOps, and more.

90

Quality

90%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Risky

Do not use without reviewing

This version of the tile failed moderation
Moderation pipeline encountered an internal error
Overview
Quality
Evals
Security
Files

README.mdplugins/developer-kit-specs/

Developer Kit Specs

Specifications-driven development workflow for transforming ideas into functional specifications and executable tasks.

Overview

This plugin provides a complete workflow for transforming ideas into implemented code:

  • Brainstorming: Transform ideas into pure functional specifications (WHAT, not HOW)
  • Task Generation: Convert functional specifications into executable tasks
  • Task Management: Add, split, update, and manage tasks
  • TDD Workflow: Test-Driven Development with RED/GREEN phases
  • Implementation: Execute specific tasks with language-specific agents
  • Review: Verify implemented tasks meet specifications
  • Code Cleanup: Final cleanup after review approval
  • Drift Guard: Real-time monitoring of spec-to-implementation drift
  • Ralph Loop: Step-by-step automation for long-running implementations
  • KPI Evaluation: Objective quality metrics using pre-calculated data

Quick Start

# 1. Create a functional specification
/specs:brainstorm "Add user authentication with JWT tokens"

# 2. Convert specification to tasks
/specs:spec-to-tasks --lang=spring docs/specs/001-user-auth/

# 3. Implement a task
/specs:task-implementation --lang=spring --task="docs/specs/001-user-auth/tasks/TASK-001.md"

# 4. Review implementation
/specs:task-review --lang=spring docs/specs/001-user-auth/tasks/TASK-001.md

# 5. Clean up code
/specs:code-cleanup --lang=spring docs/specs/001-user-auth/tasks/TASK-001.md

# 6. Sync specification with implementation
/specs:spec-sync-with-code docs/specs/001-user-auth/

Workflow

Idea → Functional Specification → Tasks → TDD / Implementation → Review → Cleanup → Done
       (brainstorm)              (spec-to-tasks)  (task-tdd)    (task-review)   (code-cleanup)

Specification Structure

Each specification lives in docs/specs/[ID-feature]/:

docs/specs/001-user-auth/
├── 2026-04-09--user-auth.md           # Main functional specification
├── user-request.md                    # Original user input
├── brainstorming-notes.md             # Brainstorming session context
├── decision-log.md                    # Decision audit trail
├── traceability-matrix.md             # Requirements-to-task mapping
├── knowledge-graph.json               # Cached codebase analysis
└── tasks/
    ├── TASK-001.md                    # Individual task
    ├── TASK-001--kpi.json            # KPI analysis (auto-generated)
    ├── TASK-001--review.md           # Review report
    └── TASK-002.md

Commands

Specification Creation

CommandDescription
/specs:brainstorm [idea]Full specification creation for complex features
/specs:quick-spec [idea]Lightweight spec for bug fixes and small features
/specs:spec-quality-check [folder]Review specification content quality

Task Generation and Management

CommandDescription
/specs:spec-to-tasks [--lang=...] [folder]Convert specification to executable tasks
/specs:task-manage --action=listList all tasks in a specification
/specs:task-manage --action=addAdd a new task
/specs:task-manage --action=splitSplit an existing task
/specs:task-manage --action=updateUpdate task metadata

Task Implementation

CommandDescription
/specs:task-implementation [--lang=...] [task-file]Implement a specific task
/specs:task-tdd [--lang=...] [task-file]TDD RED phase - generate failing tests first
/specs:task-review [--lang=...] [task-file]Verify implemented task meets specification
/specs:code-cleanup [--lang=...] [task-file]Clean up code after review approval

Synchronization

CommandDescription
/specs:spec-sync-context [folder]Sync Knowledge Graph, tasks, and codebase
/specs:spec-sync-with-code [folder]Detect and fix spec-to-code drift

Automation

CommandDescription
/specs:ralph-loopStep-by-step automation (use Python script directly)

Language Support

Commands support --lang= with values:

ValueFrameworkCode Review Agent
javaJava SEdeveloper-kit-java:java-software-architect-review
springSpring Bootdeveloper-kit-java:spring-boot-code-review-expert
typescriptNode.jsdeveloper-kit:general-code-reviewer
nestjsNestJSdeveloper-kit-typescript:nestjs-code-review-expert
reactReactdeveloper-kit:general-code-reviewer
pythonDjango/FastAPIdeveloper-kit-python:python-code-review-expert
phpLaravel/Symfonydeveloper-kit-php:php-code-review-expert
generalAnydeveloper-kit:general-code-reviewer

Task Status Workflow

Tasks use a standardized status workflow with automatic date tracking:

pending → in_progress → implemented → reviewed → completed
              ↓
          blocked (can return to in_progress)
StatusDescriptionDate Fields Set
pendingInitial stateNone
in_progressWork startedstarted_date
implementedCoding completeimplemented_date
reviewedReview passedreviewed_date
completedCleanup donecompleted_date, cleanup_date
blockedCannot proceedNone
optionalNot requiredNone
supersededReplaced by other tasksNone

Auto-Status Management

Task status is automatically managed by hooks when you edit task files:

User ActionAutomatic Status Update
Edit task filependingin_progress
Check AC boxesProgress through implementation
Check all DoD boxesimplementedreviewed
Add Cleanup Summaryreviewedcompleted

Ralph Loop

The Ralph Loop applies Geoffrey Huntley's "Ralph Wiggum as a Software Engineer" technique to SDD. It solves context window explosion by executing one step per invocation, persisting state in fix_plan.json.

State Machine

init → choose_task → implementation → review → fix → cleanup → sync → update_done

Quick Start

# 1. Initialize
python3 plugins/developer-kit-specs/skills/ralph-loop/scripts/ralph_loop.py \
  --action=start \
  --spec=docs/specs/001-feature/

# 2. Run loop (execute shown command, then run loop again)
python3 plugins/developer-kit-specs/skills/ralph-loop/scripts/ralph_loop.py \
  --action=loop \
  --spec=docs/specs/001-feature/

# 3. Check status
python3 plugins/developer-kit-specs/skills/ralph-loop/scripts/ralph_loop.py \
  --action=status \
  --spec=docs/specs/001-feature/

Task Range Filtering

Process a specific range of tasks:

python3 plugins/developer-kit-specs/skills/ralph-loop/scripts/ralph_loop.py \
  --action=start \
  --spec=docs/specs/001-feature/ \
  --from-task=TASK-036 \
  --to-task=TASK-041

Multi-Agent Support

Specify agent per task in task frontmatter:

---
id: TASK-036
title: Refactor user service
agent: codex  # claude, codex, copilot, gemini, glm4, kimi, minimax
---

KPI Evaluation

The Evaluator Agent provides objective quality evaluation using pre-calculated KPI data.

How It Works

  1. Auto-generated KPIs: A hook calculates KPIs every time a task file is modified
  2. KPI File: Results saved to TASK-XXX--kpi.json
  3. Evaluation: Evaluator Agent reads the KPI file and makes data-driven decisions

KPI Categories

CategoryWeightMetrics
Spec Compliance30%Acceptance criteria met, requirements coverage, scope control
Code Quality25%Static analysis, complexity, patterns alignment
Test Coverage25%Unit tests, test/code ratio, coverage %
Contract Fulfillment20%Provides verified, expects satisfied

Threshold

  • Default threshold: 7.5/10
  • Score >= threshold: APPROVED
  • Score < threshold: REQUEST FIXES

Reading KPI Files

The Evaluator Agent reads pre-generated KPI files. You can also read them directly:

cat docs/specs/001-user-auth/tasks/TASK-001--kpi.json

TDD Workflow

Test-Driven Development is integrated into the task implementation workflow:

RED Phase (Write Failing Tests)

/specs:task-tdd --lang=spring docs/specs/001-user-auth/tasks/TASK-001.md

Generates failing tests based on task acceptance criteria before implementation.

GREEN Phase (Make Tests Pass)

/specs:task-implementation --lang=spring docs/specs/001-user-auth/tasks/TASK-001.md

Implements code to make the failing tests pass.

Test Templates

Language-specific test templates are provided:

LanguageFrameworkTemplate
JavaSpring Boothooks/test-templates/spring-test-template.java
TypeScriptNode.jshooks/test-templates/nodejs-test-template.test.ts
NestJSNestJShooks/test-templates/nestjs-test-template.spec.ts
ReactReacthooks/test-templates/react-test-template.test.tsx
Pythonpytesthooks/test-templates/python-test-template.py
PHPPHPUnithooks/test-templates/php-test-template.php

Knowledge Graph

The Knowledge Graph (knowledge-graph.json) stores discoveries from codebase analysis:

  • Reduces redundant exploration: Reuse cached analysis across tasks
  • Validates dependencies: Check if required components exist before implementing
  • Enables task validation: Verify task expectations against actual codebase state

Operations

# Read knowledge graph
/knowledge-graph read docs/specs/001-feature/

# Query patterns
/knowledge-graph query docs/specs/001-feature/ patterns

# Validate against knowledge graph
/knowledge-graph validate docs/specs/001-feature/ {
  components: ["HotelSearchService"],
  apis: ["/api/v1/search"]
}

Freshness

AgeStatusAction
< 7 daysFreshUse cached analysis
7-30 daysStaleWarn user, offer regeneration
> 30 daysVery staleAuto-regenerate

Specification Maintenance

Specifications are deliverables, not just background context.

Rules

  1. When work is driven by files in docs/specs/, treat the specification as a deliverable.
  2. After /specs:task-implementation, always run /specs:task-review, fix every finding, then run /specs:spec-sync-with-code whenever implementation changed, clarified, or constrained intended behavior.
  3. During normal chat sessions, if specs were used to guide implementation, update affected spec files before concluding.
  4. If no spec update is needed, state that explicitly.

Add to CLAUDE.md

## Specification Maintenance Rules

- When work is driven by files in `docs/specs/`, treat the specification as a deliverable.
- After `/specs:task-implementation`, always run `/specs:task-review`, fix every finding, then run `/specs:spec-sync-with-code`.
- During normal chat sessions, if specs were used to guide implementation, update affected spec files before concluding.
- If no spec update is needed, state that explicitly and explain why.

Drift Guard

Monitors specification-to-implementation drift to ensure alignment:

  • drift-init: Initializes drift tracking for a specification
  • drift-monitor: Analyzes implementation changes against functional requirements
  • drift-report: Generates fidelity report on task completion

Hooks

Hooks automate task management:

HookTriggerPurpose
task-auto-status.pyEdit TASK-*.mdAuto-update status from checkboxes
task-kpi-analyzer.pyEdit TASK-*.mdCalculate quality KPIs
task-validator.pyEdit TASK-*.mdValidate frontmatter structure
drift-monitor.pyWrite/Edit any fileMonitor spec drift

Skills

knowledge-graph

Persistent JSON file that stores discoveries from codebase analysis:

  • Location: docs/specs/[ID-feature]/knowledge-graph.json
  • Reduces redundant codebase exploration
  • Enables task validation against actual codebase state

ralph-loop

Guided automation loop for specification-driven development:

  • Orchestrates task implementation, review, and cleanup
  • Maintains state across turns for long-running tasks
  • Integrates with spec-driven commands for consistent workflow

specs-code-cleanup

Professional code cleanup after task review approval:

  • Removes debug logs and temporary comments
  • Optimizes imports and improves readability
  • Finalizes code before task completion

Agents

Evaluator Agent

Objective quality evaluator using pre-calculated KPI data:

  • KPI-driven: Reads TASK-XXX--kpi.json for decisions
  • Evidence-based: Evaluates against quantitative metrics
  • Consistent: Reduces evaluator bias through data-driven approach

Dependencies

This plugin requires:

  • developer-kit-core - For general agents (code-explorer, code-reviewer, refactor-expert, software-architect, debugger)

Requirements

  • Python 3.11+ (for hook scripts and Ralph Loop)
  • Claude Code (for command integration)

License

MIT

Author

Giuseppe Trisciuoglio giuseppe.trisciuoglio@gmail.com

plugins

CHANGELOG.md

context7.json

CONTRIBUTING.md

README_CN.md

README_ES.md

README_IT.md

README.md

tessl.json

tile.json