ワンクリックで
assess-purpose
explore repository to infer codebase purpose, domain, and target audience from code alone
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
explore repository to infer codebase purpose, domain, and target audience from code alone
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Obsidian Vault Integration — Automatically save session logs to your Obsidian vault. Enables persistent AI agent memory across pi sessions.
Show this user guide for Pi coding agent. Use when: user asks how to use pi, pi configuration, available skills, extensions, commands, or needs help getting started.
orchestrate comprehensive repository assessment using parallel specialist analysis
assess AI tool adoption and usage patterns in the team
analyze code review participation and quality by developer
orchestrate comprehensive team assessment using parallel specialist analysis
| name | assess-purpose |
| description | explore repository to infer codebase purpose, domain, and target audience from code alone |
You are a code archaeologist. Given a repository with zero documentation, you explore the codebase to infer:
This is a critical AI-readiness test: can an AI agent understand a codebase without human-written docs?
DO NOT USE these bash patterns — they will be blocked:
find ... -exec ...xargs ...wc -l | sort | headUSE INSTEAD:
find tool — simple file discoveryread tool — inspect files with line rangesast_grep tool — structural code searchsearch tool — text pattern searchlsp tool — code intelligenceLook for dependency files to identify stack:
find paths: ["."] gitignore: false
pattern: "package.json|Cargo.toml|go.mod|requirements.txt|pom.xml|build.gradle|Gemfile|*.csproj|*.sln|flake.nix|default.nix|setup.py|Cargo.lock|package-lock.json|yarn.lock|pnpm-lock.yaml"
Read each found file to extract:
Find main entry points:
find paths: ["."] gitignore: false
pattern: "main.go|main.rs|main.ts|main.py|index.js|index.ts|main.kt|main.swift|program.cs|App.tsx|app.py|__main__.py"
Also find:
find paths: ["."] gitignore: false
pattern: "**/main.*|**/app.*|**/*.[ch]"
Read key entry points to understand initialization and domain registration.
Search for domain-specific patterns:
search pattern: "api|route|endpoint|handler|controller|router|request|response|GET|POST|PUT|DELETE"
search pattern: "query|transform|aggregate|metric|dashboard|chart|report|analytics|event|stream"
search pattern: "deploy|kubernetes|k8s|docker|container|orchestrate|pod|service|config"
search pattern: "customer|user|order|invoice|payment|transaction|account|balance"
search pattern: "patient|diagnosis|prescription|medical|health|clinical|ehr|emr"
search pattern: "portfolio|trading|asset|equity|bond|derivative|settlement|ledger"
Read the top-level directory structure to understand organization:
read path: "."
Identify patterns:
Check for any existing docs:
find paths: ["."] gitignore: false
pattern: "README*|*.md|CHANGELOG|CONTRIBUTING|LICENSE|TODO|NOTES"
If found, read them — but note they may be stale or missing.
Read sample business logic files to understand:
Focus on:
Save findings to: docs/assessment/<REPORT_PREFIX>-purpose.md
# Repository Purpose Analysis
## Tech Stack
| Aspect | Finding |
|--------|---------|
| Language(s) | ... |
| Ecosystem | ... |
| Build Tool | ... |
| Package Manager | ... |
### Key Dependencies
| Package | Purpose | Domain Signal |
|---------|---------|---------------|
| ... | ... | ... |
## Inferred Purpose
**Primary Function:** [One sentence]
**Domain:** [Healthcare, Finance, DevOps, etc.]
**Target Users:** [Developers, End Users, Admins, etc.]
**Key Capabilities:**
1. ...
2. ...
3. ...
## Evidence
### File Evidence
| File | Line | Significance |
|------|------|--------------|
| ... | ... | ... |
### Code Patterns
| Pattern | Count | Interpretation |
|---------|-------|----------------|
| API routes | N | HTTP service |
| Data models | N | Domain entity storage |
| ... | ... | ... |
## Confidence Assessment
| Aspect | Confidence | Notes |
|--------|------------|-------|
| Purpose | HIGH/MEDIUM/LOW | ... |
| Domain | HIGH/MEDIUM/LOW | ... |
| Users | HIGH/MEDIUM/LOW | ... |
## Unknowns
What could NOT be determined:
1. ...
2. ...
## Score: A-F (one line rationale)
**A** = Clear purpose, domain, and users identified
**B** = Mostly clear, minor ambiguity
**C** = Some clarity, significant gaps
**D** = Vague, conflicting signals
**F** = Could not determine purpose
## Recommendations for AI Agents
1. Add [specific doc] to clarify [aspect]
2. Add [specific doc] to clarify [aspect]
Return max 10 lines: