🥣

SuperClaudeをインストールしてみる

に公開

SuperClaudeとは

https://superclaude.org/

SuperClaude is a lightweight, drop-in configuration framework that transforms Claude Code from a generic AI assistant into a specialized, context-aware development partner. It applies software engineering principles without requiring additional code or external tools.

機械翻訳)
SuperClaudeは、軽量で即座に導入可能な構成フレームワークであり、Claude Codeを汎用的なAIアシスタントから、文脈を認識する専門的な開発パートナーに変換します。追加のコードや外部ツールを必要とせずに、ソフトウェア工学の原則を適用します。

19 Specialized SuperClaude Commands
Complete development lifecycle coverage

9 Cognitive Personas for SuperClaude
Architect, Frontend, Backend, Security, and more

100% Local Operation
No third-party servers or data collection

https://github.com/SuperClaude-Org/SuperClaude_Framework

A configuration framework that enhances Claude Code with specialized commands, cognitive personas, and development methodologies.

機械翻訳)
Claude Codeを専門的なコマンド、認知型ペルソナ、および開発手法で強化する構成フレームワーク。

インストール手順

現時点で最新のv3をソースからインストールします。

git clone https://github.com/SuperClaude-Org/SuperClaude_Framework.git
cd SuperClaude_Framework
uv sync

上記だけではClaude Codeにカスタムコマンドが追加されていなかったので、次のコマンドを実行し、指示に従ってインストールを実行。

uvx SuperClaude install

Claude Codeを起動してみると、次のようなSuperClaudeのカスタムコマンドが追加されていました。

  /sc:test         Execute tests, generate test reports, and maintain test coverage (user)
  /sc:cleanup      Clean up code, remove dead code, and optimize project structure (user)
  /sc:design       Design system architecture, APIs, and component interfaces (user)
  /sc:task         Execute complex tasks with intelligent workflow management and cross-session persistence (user)

省略

SuperClaudeのコマンドを使用してみる

使い方を確認

コマンドの使い方を調べるために、試しに /sc:analyze -h を実行してみると、使い方を提示してくれた。

⏺ I'll provide help information for the /sc:analyze command.

  /sc:analyze - Comprehensive Code Analysis

  Description

  Performs systematic analysis of your codebase across multiple dimensions including code quality, security vulnerabilities, performance bottlenecks, and architectural patterns.

  Usage

  /sc:analyze [target] [options]

  Arguments

  - target - Target for analysis (optional)
    - File path: /sc:analyze path/to/file.cs
    - Directory: /sc:analyze src/
    - Pattern: /sc:analyze **/*.cs
    - Default: Current project (all files)

  Options

  - --focus <domain> - Focus analysis on specific area
    - quality - Code quality, maintainability, standards
    - security - Vulnerability detection, security patterns
    - performance - Performance bottlenecks, optimization opportunities
    - architecture - Design patterns, structure, dependencies
    - Default: All domains

省略

コマンドの実行

つぎのようにオプションを指定して、SuperClaudeのコマンドを実行することも可能。

/sc:analyze --focus architecture --depth quick

Discussion