devkit.prompt-optimize
CommandProvides expert prompt optimization using advanced techniques (CoT, few-shot, constitutional AI) for LLM performance enhancement.…
Generates professional documents (assessments, features, analysis, process, custom) with language support and specialized sub-agents. Use when you need to create structured technical or business documentation.
> /plugin marketplace add giuseppe-trisciuoglio/developer-kit> /plugin install developer-kit@developer-kit
description: Generates professional documents (assessments, features, analysis, process, custom) with language support and specialized sub-agents. Use when you need to create structured technical or business documentation. argument-hint: "--lang=en|it|es|fr|de --type=assessment|feature|analysis|process|custom [objective/description]" allowed-tools: Task, Read, Write, Edit, Bash, Grep, Glob, TodoWrite, AskUserQuestion model: inherit
Generate professional technical and business documents with multi-language support. This command analyzes your codebase and produces comprehensive, well-structured documentation based on the specified type and objective.
/devkit.generate-document $ARGUMENTS
**Input received**: $ARGUMENTS
This command leverages specialized sub-agents for different aspects:
| Phase | Agent | Purpose | |------------|--------------------------------------------------------|-----------------------------| | Analysis | `developer-kit:general-code-explorer` | Codebase exploration | | Analysis | `developer-kit:spring-boot-backend-development-expert` | Java/Spring analysis | | Analysis | `developer-kit:nestjs-backend-development-expert` | NestJS analysis | | Generation | `developer-kit:document-generator-expert` | Primary document generation | | Support | `developer-kit:java-security-expert` | Security domain expertise | | Support | `developer-kit:typescript-security-expert` | TypeScript security | | Support | `developer-kit:general-software-architect` | Architecture insights |
---
| Parameter | Values | Default | Description | |------------|----------------------------------------------------------|--------------|-------------------| | `--lang` | `en`, `it`, `es`, `fr`, `de`, `pt` | `en` | Document language | | `--type` | `assessment`, `feature`, `analysis`, `process`, `custom` | `assessment` | Document type | | `--format` | `markdown`, `html`, `pdf` | `markdown` | Output format |
| Type | Description | Use Case | |--------------|--------------------------------------|-------------------------------------------------------| | `assessment` | Evaluation and audit documents | Technical debt, security review, performance analysis | | `feature` | Feature specifications and proposals | New features, enhancements, requirements | | `analysis` | Deep-dive technical analysis | Gap analysis, impact analysis, comparative studies | | `process` | Process and workflow documentation | SOPs, runbooks, procedures | | `custom` | Custom document format | Any specific documentation need |
| Code | Language | Full Code | |------|------------|-----------| | `en` | English | `en-US` | | `it` | Italian | `it-IT` | | `es` | Spanish | `es-ES` | | `fr` | French | `fr-FR` | | `de` | German | `de-DE` | | `pt` | Portuguese | `pt-BR` |
---
**Goal**: Understand what document needs to be generated
**Actions**:
1. Parse $ARGUMENTS to extract:
2. Create todo list with all phases 3. ****[GATE]** MANDATORY STOP POINT**: If the document objective is unclear or underspecified, you MUST call the AskUserQuestion tool to ask the user:
4. ****[GATE]** STOP: Wait for the user's answers before proceeding. Do NOT proceed to Phase 2 until requirements are clear.** 5. Summarize understanding and confirm with user
---
**Goal**: Gather relevant information from the codebase
**Actions**:
1. Use the Task tool to launch an explorer agent to analyze the codebase
**Agent Selection by Project Type**:
**Example Task Tool Usage**:
Task(
description: "Analyze codebase for document generation",
prompt: "Analyze the codebase structure, architecture, patterns, and relevant details for generating a [document-type] document about [objective]. Return a comprehensive summary with file references.",
subagent_type: "developer-kit:general-code-explorer"
)2. Based on document type, gather specific information:
**For Assessment Documents**:
Modular plugin marketplace for Claude Code and agentic CLIs, with validated, spec-driven skills, agents, commands, and workflows for Java, TypeScript, Python, PHP, AWS, and AI.
Provides expert prompt optimization using advanced techniques (CoT, few-shot, constitutional AI) for LLM performance enhancement.…
Provides guided feature development capability with codebase understanding and architecture focus. Use when implementing a new…
Provides guided bug fixing and debugging capability with systematic root cause analysis. Use when encountering bugs, errors, or…
Creates a GitHub pull request with branch creation, commits, and detailed description. Use when you need to submit changes for…
Provides comprehensive GitHub pull request review with code quality, security, and best practices analysis. Use when reviewing a…
Provides guided code refactoring capability with deep codebase understanding, compatibility options, and comprehensive…
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.