devkit.java.generate-refactoring-tasks

devkit.java.generate-refactoring-tasks is a command for Claude Code from giuseppe-trisciuoglio/developer-kit. It costs 34 tokens per session (951 once invoked), scanned A, original, MIT.

A command that examines one bounded context—a defined business area in domain-driven design—and creates a refactoring task list saved to a file. It maps Java files, dependencies, layers, unfinished work, and design issues.

In plain words
What is it for?
Use it to inspect a business area, identify technical debt and placeholder code, map domain and application components, and plan the refactoring sequence.
Why use it?
It turns a broad refactoring effort into an organized list of concrete tasks instead of requiring developers to discover the work manually.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Part of the developer-kit-java plugin — 52 skills, 11 commands, 9 agents shipped together

Good fit Use it to inspect a business area, identify technical debt and placeholder code, map domain and application components, and plan the refactoring sequence.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-refactoring-tasks
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit

Made for: Claude Code.

Or install developer-kit-java, the plugin that ships this one along with the rest of its 52 skills, 11 commands, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for devkit.java.generate-refactoring-tasks

README.md
[![agentmods](https://agentmods.dev/badge/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-refactoring-tasks/github.svg)](https://agentmods.dev/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-refactoring-tasks)
Your own site
<a href="https://agentmods.dev/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-refactoring-tasks"><img src="https://agentmods.dev/badge/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-refactoring-tasks/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for devkit.java.generate-refactoring-tasks

Your own site · 80×15
<a href="https://agentmods.dev/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-refactoring-tasks"><img src="https://agentmods.dev/badge/commands/giuseppe-trisciuoglio/developer-kit/devkit.java.generate-refactoring-tasks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 951 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00951
Opus 5.5 $0.00014 $0.00380
Sonnet 5.5 $0.00007 $0.00190
Haiku 4.5 $0.00003 $0.00095

Measured 1mo ago against content hash 610459b9a398, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

devkit.java.generate-refactoring-tasks scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/developer-kit-java/commands/devkit.java.generate-refactoring-tasks.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Refactoring Task List Generator for Bounded Context

Overview

Generates a comprehensive refactoring task list for a specific Bounded Context in project and saves it to a file. Use when planning refactoring work for a bounded context.

Usage

/devkit.java.generate-refactoring-tasks $ARGUMENTS

Arguments

Argument Description
$ARGUMENTS Combined arguments passed to the command

Execution Steps

Analyze the bounded context $1 in the project to create a complete refactoring task list and save it to a file.

Perform the following steps:

  1. Bounded Context Analysis:

    • Search for all Java files in the package $1
    • Identify all TODO, FIXME comments, and technical debt indicators
    • Analyze DDD architecture and compliance with SOLID principles
    • Identify incomplete implementations and placeholder code
  2. Map the Structure:

    • List all found files by layer (domain, application, infrastructure, presentation)
    • Identify dependencies between components
    • Analyze entities, aggregates, value objects, services, repositories, controllers
    • Detect architectural patterns and violations
  3. Generate Organized Task List: Create a task list with this exact structure:

    # $1 Bounded Context Refactoring Tasks
    > Generated on: 2025-11-24
    
    ## Overview
    List of refactoring activities to be performed in the $1 bounded context...
    
    ## Current State
    - **Identified TODOs**: [number] refactoring/clean comments
    - **Missing Documentation**: [number] classes without Javadoc
    - **Incomplete Implementations**: [number] methods with placeholders
    - **Unused Methods**: [number] methods to remove
    
    ## Task List
    
    ### Priority 1: Documentation and Critical Functionality
    
    #### 1.1 Complete Javadoc Documentation
    [List of checkboxes for each file with TODO javadoc]
    
    #### 1.2 Implement Incomplete Functionality
    [List of checkboxes for each placeholder method to implement]
    
    #### 1.3 Remove Unused Code
    [List of checkboxes for each unused method to remove]
    
    ### Priority 2: Domain Model Enhancement
    [Tasks to improve domain model, value objects, aggregates]
    
    ### Priority 3: Architecture Improvements
    [Tasks to improve architecture, ports, interfaces]
    
    ### Priority 4: Infrastructure Cleanup
    [Tasks for database cleanup, configuration, imports]
    
    ## Execution Notes
    ### Task Dependencies
    [Logical dependencies between priorities]
    
    ### Time Estimate
    [Days estimate for each priority]
    
    ### Validation Checklist for each Task
    [Standard validation criteria]
    

Read the full file on GitHub · 132 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 132 lines · 34 tokens per session scan A 610459b9a398

Subscribe to this mod's changes

devkit.java.generate-refactoring-tasks is a command published in the GitHub repository giuseppe-trisciuoglio/developer-kit (360 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 951 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.