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

commands-reference.mdplugins/developer-kit-specs/docs/

Commands Reference

Complete reference for all SDD commands with arguments, options, and real-world examples.


/specs:brainstorm

Transform ideas into full functional specifications through guided brainstorming.

Syntax

/specs:brainstorm [idea-description]

Arguments

ArgumentRequiredDescription
idea-descriptionYesNatural language description of the feature to build

When to Use

  • New features with complex requirements
  • Features affecting 5+ files
  • Requirements that need clarification
  • Features requiring architectural decisions
  • Any feature where the "right approach" isn't immediately clear

Process (9 Phases)

PhaseNameDescription
1Context DiscoveryExplore project structure, dependencies, existing patterns
1.5Complexity AssessmentEstimate task count; split if >15 tasks
2Idea RefinementAsk up to 3 clarifying questions
3Functional ApproachPresent 2-3 approaches (WHAT, not HOW)
4Codebase ExplorationExamine integration points
5Spec PresentationValidate sections incrementally
6Spec GenerationCreate full specification document
7Quality ReviewVerify completeness
8Next StepsRecommend follow-up commands
9SummaryList outputs and file locations

Output

docs/specs/[ID-feature]/
├── YYYY-MM-DD--feature-name.md     # Main specification
├── user-request.md                  # Original request
├── brainstorming-notes.md           # Session context
└── decision-log.md                  # Decision audit trail

Examples

# New feature with complex requirements
/specs:brainstorm Add a multi-tenant SaaS billing system with subscription management,
usage metering, invoice generation, Stripe integration, and prorated upgrades

# API design
/specs:brainstorm Design a RESTful API for an e-commerce platform with product catalog,
shopping cart, checkout flow, and order management

# Infrastructure feature
/specs:brainstorm Add real-time WebSocket notifications for order status changes
with delivery guarantees and connection management

/specs:quick-spec

Create a lightweight specification for well-understood changes.

Syntax

/specs:quick-spec [description]

Arguments

ArgumentRequiredDescription
descriptionYesClear description of the change

When to Use

  • Bug fixes with known solutions
  • Small features affecting 1-3 files
  • Changes with clear acceptance criteria (≤4)
  • Well-understood technical context

Process (4 Phases)

PhaseNameDescription
1Quick ContextCheck git log, identify affected files
2Problem + Solution CheckpointDefine and validate approach
3Generate Minimal SpecCreate lightweight specification
4Next Step RecommendationSuggest implementation path

Output

docs/specs/[ID-feature]/
├── YYYY-MM-DD--feature-name.md     # Minimal specification
└── decision-log.md                  # Decision record

Examples

# Bug fix
/specs:quick-spec Fix the NullPointerException in UserService.updateProfile()
when the email field is null

# Small feature
/specs:quick-spec Add pagination to the /api/v1/orders endpoint with
configurable page size and sorting

# Performance improvement
/specs:quick-spec Optimize the dashboard query that loads in 8+ seconds
by adding database indexes and caching the aggregation results

/specs:spec-to-tasks

Convert a functional specification into executable task files.

Syntax

/specs:spec-to-tasks [--lang=language] [spec-folder]

Arguments

ArgumentRequiredDescription
--langRecommendedTarget language: java, spring, typescript, nestjs, react, python, php, general
spec-folderYesPath to the specification directory

Process (7 Phases)

PhaseNameDescription
1Specification AnalysisRead and understand the spec
1.5Architecture & OntologyEnsure technical foundation exists
2Requirement ExtractionOrganize requirements, assign REQ-IDs
2.5Knowledge GraphLoad or create cached codebase analysis
3Codebase AnalysisLanguage-specific exploration
3.5Update Knowledge GraphPersist discoveries
4Task DecompositionBreak into atomic tasks
5Task GenerationCreate task files and index
5.5Traceability MatrixMap requirements to tasks
6Review and ConfirmationPresent for validation
7SummaryList outputs

Task Limit

Maximum 15 implementation tasks per specification. If exceeded, the command rejects and recommends splitting.

Output

docs/specs/[ID-feature]/
├── YYYY-MM-DD--feature-name--tasks.md    # Task index
├── knowledge-graph.json                   # Codebase analysis cache
├── traceability-matrix.md                # Requirements mapping
└── tasks/
    ├── TASK-001.md
    ├── TASK-002.md
    └── ...

Examples

# Spring Boot project
/specs:spec-to-tasks --lang=spring docs/specs/001-user-auth/

# NestJS project
/specs:spec-to-tasks --lang=nestjs docs/specs/002-notification-system/

# Python project
/specs:spec-to-tasks --lang=python docs/specs/003-data-pipeline/

# General / multi-language
/specs:spec-to-tasks --lang=general docs/specs/004-api-design/

/specs:task-manage

Manage tasks after generation — add, split, update, list.

Syntax

/specs:task-manage --action=action [options]

Actions

ActionDescriptionRequired Options
listDisplay all tasks with status and complexity--spec
addCreate a new task--spec
splitSplit a complex task into subtasks--task
mark-optionalMark task as not required--task
mark-requiredMark optional task as required--task
updateModify task details--task
regenerate-indexRecreate task index from files--spec

Options

OptionDescription
--spec="path"Specification directory
--task="path"Path to specific task file

Task Complexity Scoring

COMPLEXITY = (Files × 10) + (Acceptance Criteria × 5) +
             (Independent Components × 25) + (Design Decisions × 10) +
             (Integration Points × 15) + (External Dependencies × 20)

Tasks with complexity ≥50 are candidates for splitting.

Examples

# List all tasks
/specs:task-manage --action=list --spec="docs/specs/001-user-auth/"

# Split a complex task
/specs:task-manage --action=split --task="docs/specs/001-user-auth/tasks/TASK-003.md"
# Result: TASK-003 → TASK-003A + TASK-003B

# Add a new task
/specs:task-manage --action=add --spec="docs/specs/001-user-auth/"
# Claude will ask for task details interactively

# Mark a task as optional (won't block completion)
/specs:task-manage --action=mark-optional --task="docs/specs/001-user-auth/tasks/TASK-008.md"

# Regenerate task index after manual changes
/specs:task-manage --action=regenerate-index --spec="docs/specs/001-user-auth/"

/specs:task-implementation

Implement a specific task from a task list.

Syntax

/specs:task-implementation [--lang=language] --task="task-file"

Arguments

ArgumentRequiredDescription
--langRecommendedTarget language/framework
--taskYesPath to task file

Process (12 Steps)

StepNameGate
T-1Task identificationValid task file
T-2Git state checkClean working tree
T-3Dependency checkAll deps completed
T-3.5Knowledge Graph validationComponents exist
T-3.6Contract validationProvides/expects compatible
T-3.7Review feedback checkFor Ralph Loop iterations
T-4Implementation
T-5VerificationTests pass
T-6Task completionStatus updated
T-6.5Knowledge Graph updateContext persisted
T-6.6Spec deviation checkDrift reported

Examples

# Spring Boot task
/specs:task-implementation --lang=spring \
  --task="docs/specs/001-user-auth/tasks/TASK-001.md"

# NestJS task
/specs:task-implementation --lang=nestjs \
  --task="docs/specs/002-notification/tasks/TASK-003.md"

# React task
/specs:task-implementation --lang=react \
  --task="docs/specs/003-dashboard/tasks/TASK-002.md"

/specs:task-tdd

Generate failing tests (TDD RED phase) before implementation.

Syntax

/specs:task-tdd [--lang=language] --task="task-file"

Arguments

ArgumentRequiredDescription
--langRecommendedTarget language/framework
--taskYesPath to task file

Supported Test Frameworks

LanguageFrameworkTemplate
SpringJUnit 5 + Mockitospring-test-template.java
JavaJUnit 5java-test-template.java
NestJSJestnestjs-test-template.spec.ts
TypeScriptJest / Mochatypescript-test-template.spec.ts
ReactJest + React Testing Libraryreact-test-template.test.tsx
Node.jsJestnodejs-test-template.test.ts
Pythonpytestpython-test-template.py
PHPPHPUnitphp-test-template.php

TDD Workflow

RED phase: /specs:task-tdd      → Generate failing tests
GREEN phase: /specs:task-implementation → Make tests pass

Examples

# Spring Boot — RED phase
/specs:task-tdd --lang=spring --task="docs/specs/001-user-auth/tasks/TASK-002.md"
# Creates: src/test/java/.../JwtTokenServiceTest.java (all tests fail)

# Then GREEN phase
/specs:task-implementation --lang=spring --task="docs/specs/001-user-auth/tasks/TASK-002.md"
# Creates: src/main/java/.../JwtTokenService.java (all tests pass)

/specs:task-review

Verify that an implemented task meets specifications and passes code review.

Syntax

/specs:task-review [--lang=language] [--task="task-file"]

Arguments

ArgumentRequiredDescription
--langRecommendedTarget language/framework
--taskYesPath to task file

Review Dimensions

DimensionWhat It Checks
ImplementationCode matches task description
Acceptance CriteriaAll criteria checkboxes ✅
Spec ComplianceAlignment with functional specification
Code QualityLanguage-specific patterns, security, conventions

Review Outcomes

StatusCondition
PASSEDAll criteria ✅, all DoD ✅, no critical issues
FAILEDAny criterion ❌, or critical code issues

Output

TASK-XXX--review.md — Detailed review report with findings per dimension.

Examples

# Spring Boot review
/specs:task-review --lang=spring docs/specs/001-user-auth/tasks/TASK-001.md

# NestJS review
/specs:task-review --lang=nestjs docs/specs/002-notification/tasks/TASK-003.md

/developer-kit-specs:specs-code-cleanup

Professional code cleanup after task review approval.

Syntax

/developer-kit-specs:specs-code-cleanup --lang=language --task="task-file"

Arguments

ArgumentRequiredDescription
--langYesTarget language/framework
--taskYesPath to task file (must be in reviewed status)

Cleanup Process (8 Phases)

  1. Task verification — Confirm reviewed status
  2. Identify files — From review report and task provides
  3. Remove debug artifactsconsole.log, System.out.println, temporary comments
  4. Optimize imports — Language-specific import cleanup
  5. Code readability — Run formatters
  6. Documentation check — Headers, API docs
  7. Final verification — Run tests, verify no logic changes
  8. Task completion — Update status to completed

Language-Specific Formatters

LanguageFormatter Command
Spring./mvnw spotless:apply
TypeScriptnpm run lint:fix && npm run format
Pythonblack .
PHPphp-cs-fixer fix

Examples

/developer-kit-specs:specs-code-cleanup --lang=spring --task="docs/specs/001-user-auth/tasks/TASK-001.md"
/developer-kit-specs:specs-code-cleanup --lang=nestjs --task="docs/specs/002-notification/tasks/TASK-003.md"
/developer-kit-specs:specs-code-cleanup --lang=python --task="docs/specs/003-pipeline/tasks/TASK-002.md"

/specs:spec-sync-with-code

Synchronize functional specification with actual implementation state.

Syntax

/specs:spec-sync-with-code [--spec="spec-folder"] [--after-task="TASK-XXX"]

Arguments

ArgumentRequiredDescription
--specYesSpecification directory
--after-taskNoSync after specific task completion

Deviation Types

TypeDescriptionExample
Scope ExpansionFeatures added beyond specAdded refresh token support
Requirement RefinementClarifications or correctionsChanged password length to 12
Scope ReductionFeatures dropped or deferredDeferred 2FA to next spec

Examples

# Full sync
/specs:spec-sync-with-code docs/specs/001-user-auth/

# Sync after specific task
/specs:spec-sync-with-code --spec="docs/specs/001-user-auth/" --after-task="TASK-003"

/specs:spec-sync-context

Synchronize Knowledge Graph, tasks, and codebase state.

Syntax

/specs:spec-sync-context [--spec="spec-folder"] [--update-kg-only] [--task="task-file"] [--dry-run]

Arguments

ArgumentRequiredDescription
--specYesSpecification directory
--update-kg-onlyNoOnly update Knowledge Graph, skip task enrichment
--taskNoSync context for specific task
--dry-runNoPreview changes without writing

Examples

# Full context sync
/specs:spec-sync-context --spec="docs/specs/001-user-auth/"

# Preview only
/specs:spec-sync-context --spec="docs/specs/001-user-auth/" --dry-run

# Update Knowledge Graph only
/specs:spec-sync-context --spec="docs/specs/001-user-auth/" --update-kg-only

# Sync after specific task
/specs:spec-sync-context --spec="docs/specs/001-user-auth/" --task="TASK-003"

/specs:spec-quality-check

Interactive specification quality assessment.

Syntax

/specs:spec-quality-check [--spec="spec-folder"]

Arguments

ArgumentRequiredDescription
--specYesSpecification directory

Quality Scan Taxonomy

The scan covers 12 areas:

  1. Completeness and Clarity
  2. Domain and Data Model
  3. Interaction and UX Flow
  4. Non-Functional Quality (performance, scalability, reliability)
  5. Security and Compliance
  6. Integrations and Dependencies
  7. Edge Cases and Error Handling
  8. Constraints and Trade-offs
  9. Terminology and Consistency
  10. Completion Criteria
  11. Placeholders and TODOs
  12. Architecture/Ontology Alignment

Process

Claude asks up to 5 focused questions, one at a time. Your answers are integrated directly into the specification.

Examples

# Check specification quality
/specs:spec-quality-check --spec="docs/specs/001-user-auth/"

# Can be run multiple times (idempotent)
/specs:spec-quality-check --spec="docs/specs/001-user-auth/"

plugins

CHANGELOG.md

context7.json

CONTRIBUTING.md

README_CN.md

README_ES.md

README_IT.md

README.md

tessl.json

tile.json