init-output

Create a standardized output directory structure with metadata template for analysis projects.

8|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/wfukatsu/refactoring-agent-for-claude-code --skill init-output
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-output
Source: https://github.com/wfukatsu/refactoring-agent-for-claude-code/tree/main/.claude/skills/init-output
Command: npx skills add https://github.com/wfukatsu/refactoring-agent-for-claude-code --skill init-output

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill initializes a standardized analysis output directory structure for Claude Code refactoring projects, ensuring a consistent starting point for reports and artifacts.

Core Features & Use Cases

  • Standardized scaffolding: Creates the main reports structure (00_summary, 01_analysis, 02_evaluation, 03_design, 04_stories) and graph/data, plus 99_appendix.
  • Metadata skeleton: Generates a project_metadata.json template to track project metadata and analysis progress.
  • Safe idempotency: If folders already exist, the script does not overwrite them; use --force to re-create.
  • Use Case: Before starting a refactoring analysis, run the skill to prepare the output directory, then run analyses that write results into the prepared folders.

Quick Start

Init the output directory with the default path, or customize the path:

  • /init-output
  • /init-output ./custom-output

Frequently Asked Questions about init-output

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a standardized directory structure for analysis reports?

You can scaffold analysis output folders by running the initialization command, which automatically creates directories like reports/01_analysis and graph/data. This provides a consistent starting point for storing refactoring project artifacts.

What is the best way to set up a refactoring analysis project workspace?

Setting up a refactoring analysis workspace involves initializing standardized output directories. This process scaffolds folders for design and stories, generates a metadata template, and standardizes artifact storage for your project.

Can I overwrite an existing analysis output directory structure?

You can safely re-create existing analysis output directories using the --force option. Without this flag, the script maintains safe idempotency and does not overwrite or modify existing folders and metadata files.

Does the directory scaffolding include a project metadata file?

The scaffolding automatically generates a project_metadata.json skeleton file. This template provides a structured starting point for recording project metadata and monitoring analysis progress alongside the created output folders.

How do I customize the output path when initializing analysis folders?

To customize the output path, pass your desired directory path as an argument to the initialization command. This redirects the script to create the standardized reports structure and metadata skeleton in your specified folder.