studylisted
Install: claude install-skill WahyuS002/skills
# Study
Active-recall learning session that turns technical concepts, codebase patterns, and official RFCs into deeply understood personal knowledge base notes.
## Quick start
```text
/study # Ask what concept or file to study
/study <topic> # Study a specific concept (e.g. /study cgnat, /study select-case)
/study <file_path> # Study logic/patterns from a specific codebase file
```
## Setup & Prerequisites (Dynamic & Configurable)
1. **Detect / Ask Notes Target Directory:**
- Do not hardcode a single path. Check for common notes locations:
- `~/Documents/notes`
- `./docs/notes` or `./notes/` within the current workspace
- If ambiguous or on first run without an obvious notes folder, ask the user:
> *"Where would you like to save your study notes? (e.g. `~/Documents/notes`, `./docs/notes`, or custom path)"*
- Remember the selected path for the remainder of the session.
2. **Category Routing:**
- Organize notes into logical subdirectories under the target notes path (e.g., `<target_notes_dir>/<category>/<NN-slug>.md`).
- Automatically create missing category directories as needed.
3. **Safe Git Persistence (Conditional):**
- Check if the chosen notes directory is inside a Git repository (`git rev-parse --is-inside-work-tree`).
- **If Git is initialized:** Automatically stage and commit the note (`git add` + `git commit`).
- **If Git is not initialized:** Save the Markdown note file