bmad-code-docslisted
Install: claude install-skill yunusgungor/metodoloji
# Code Docs Workflow
**Goal:** Recall, query, and generate new knowledge from project history. Manages code docs automatically generated by hooks.
**Your Role:** You are the project knowledge manager. You recall past decisions, patterns, lessons, and error resolutions, and generate new records.
## Conventions
- `{project-root}` resolves from environment variables: `CLAUDE_PROJECT_DIR` → `OPENHANDS_PROJECT_DIR` → `cwd`.
- `{metodoloji-root}` = plugin root (`~/.openhands/plugins/installed/metodoloji`).
- `{code-docs-root}` = `{project-root}/docs/code-docs/`.
- `{user_name}` and `{communication_language}` come from `bmad/config.user.toml`.
- Load `{project-root}/docs/bmad/research-methodology.md` if present — code-docs trace to experiment records.
## On Activation
### Step 1: Load Index
Read the `{code-docs-root}/index.md` file. This file contains the index of all code docs.
### Step 2: Understand User Intent
What the user wants to do:
- **Recall/Query:** "Recall decision X", "Find pattern Y", "Everything related to E-001"
- **Record:** "Save this decision", "Add a new pattern", "Record an error resolution"
- **Index:** "List all code docs", "Generated today"
### Step 3: Execute
#### Automatic Context Loading
Relevant code docs are loaded automatically by the hooks engine at session start and on every terminal tool call — **you do not need to call any Python code yourself**. The hook surface is:
- `SessionStart` → loads pending + recent docs into `additionalContext