# Perf Investigation Logger

> Use when appending structured perf investigation notes and evidence.

- Skill: `majiayu000/perf-investigation-logger` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/perf-investigation-logger`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/perf-investigation-logger/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/perf-investigation-logger

---


# perf-investigation-logger

Append structured investigation notes to `{state-dir}/perf/investigations/<id>.md`.

Follow `docs/perf-requirements.md` as the canonical contract.

## Required Content

1. Exact user quotes (verbatim)
2. Phase summary
3. Decisions and rationale
4. Evidence pointers (files, metrics, commands)

## Output Format

```
## <Phase Name> - <YYYY-MM-DD>

**User Quote:** "<exact quote>"

**Summary**
- ...

**Evidence**
- Command: `...`
- File: `path:line`

**Decision**
- ...
```

## Constraints

- Use `AI_STATE_DIR` for state path (default `.claude`).
- Do not paraphrase user quotes.

