Skip to content
Skill

Purpose

by motoki317

AI Summary

Purpose is a root cause investigation skill that analyzes error messages and anomalous behavior to identify underlying issues without making fixes, helping developers understand what went wrong. It benefits developers and debugging workflows by providing fact-based, log-driven analysis and investigation guidance.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "Purpose" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory (15 files)
mkdir -p .claude/skills/commands && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/SKILL.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/bug.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/address.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/address.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/ask.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/ask.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/define.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/define.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/execute.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/execute.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/feedback.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/feedback.md" && mkdir -p .claude/skills/commands/git && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/git/commit.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/git/commit.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/markdown.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/markdown.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/rebase-clean.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/rebase-clean.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/security-scan.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/security-scan.md" && mkdir -p .claude/skills/commands/tdd && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/tdd/green.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/tdd/green.md" && mkdir -p .claude/skills/commands/tdd && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/tdd/red.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/tdd/red.md" && mkdir -p .claude/skills/commands/tdd && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/tdd/refactor.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/tdd/refactor.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/ultrathink.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/ultrathink.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/upstream.md "https://raw.githubusercontent.com/motoki317/dotfiles/main/.claude/commands/upstream.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Root cause investigation command

Overview

Summary of error and investigation

Purpose

Identify root causes from error messages and anomalous behavior, providing fact-based analysis without performing fixes.

Rules

• Never modify, create, or delete files • Never implement fixes; provide suggestions only • Prioritize log analysis as primary information source • Judge from facts, not user speculation • Report honestly if cause cannot be identified

Workflow

• Analyze: Classify error type (syntax, runtime, logic), locate occurrence, gather logs • Investigate (parallel): Delegate to quality-assurance, explore, general-purpose, fact-check agents • Gather: Collect runtime info, check resources • Report: Compile findings with confidence metrics, identify root cause

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
3 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars3
Issues0
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code