skills/smithery.ai/extract-rules

extract-rules

Installation
SKILL.md

Extract Rules

Analyzes existing codebase to identify what Claude would get wrong without project-specific guidance, extracting coding rules and domain knowledge as structured markdown documentation for AI agents.

Usage

/extract-rules                      # Extract rules from codebase (initial)
/extract-rules --update             # Re-scan and add new patterns (preserve existing)
/extract-rules --restructure        # Re-analyze, reorganize structure, merge existing rules
/extract-rules --from-conversation              # Extract from current session (latest)
/extract-rules --from-conversation <session-id> # Extract from a specific session
/extract-rules --from-pr 123                   # カレントリポのPR指定
/extract-rules --from-pr owner/repo#123        # 他リポのPR指定(URL形式も可)
/extract-rules --from-pr 100..110              # 範囲指定(カレントリポ)
/extract-rules --from-pr owner/repo#100..110   # 範囲指定(他リポ)
# 複数指定可(スペース区切り)→ 横断分析で組織重視の原則を検出
Installs
1
First Seen
Apr 22, 2026
extract-rules from smithery.ai