compound-docs
Searchable Elixir/Phoenix/Ecto solution documentation system with; Use
它会碰到什么
扫了多少3 个文本文件,8 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Compound Docs — Institutional Knowledge Base
Searchable, categorized solution documentation that makes each
debugging session easier than the last.
Directory Structure
.claude/solutions/
├── ecto-issues/
├── liveview-issues/
├── oban-issues/
├── otp-issues/
├── security-issues/
├── testing-issues/
├── phoenix-issues/
├── deployment-issues/
├── performance-issues/
└── build-issues/
Iron Laws
- ALWAYS search solutions before investigating — Check
.claude/solutions/ for existing fixes before debugging
- YAML frontmatter is MANDATORY — Every solution needs
validated metadata per references/schema.md
- One problem per file — Never combine multiple solutions
- Include prevention — Every solution documents how to
prevent recurrence
Solution File Format
---
module: "Accounts"
date: "2025-12-01"
problem_type: runtime_error
component: ecto_schema
symptoms:
- "Ecto.Association.NotLoaded on user.posts"
root_cause: missing_preload
severity: medium
tags: [preload, association, n-plus-one]
---
# Association NotLoaded on User Posts
## Symptoms
Ecto.Association.NotLoaded raised when accessing user.posts
in UserListLive after filtering.
## Root Cause
Query in Accounts context missing preload for :posts.
## Solution
Added `Repo.preload(:posts)` to `list_users/1`.
## Prevention
Use n1-check skill before shipping list views.
Searching Solutions
Use Grep to search .claude/solutions/ by symptom (e.g., NotLoaded), by tag (e.g., tags:.*preload), or by component (e.g., component: ecto).
Integration
$elixir-phoenix:phx-compoundcreates solution docs here$elixir-phoenix:phx-investigatesearches here before debugging$elixir-phoenix:phx-planconsults for known riskslearn-from-fixfeeds into this system
References
references/schema.md— YAML frontmatter validation schemareferences/resolution-template.md— Full solution template
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 553
本站分层T2
该仓技能数322
原文件路径
targets/codex/skills/compound-docs/SKILL.md同一个仓库里的其他技能
同名技能的其他版本
有 6 个不同仓库或目录里都有叫 compound-docs 的技能。它们内容并不相同,别混用:
- oliver-kriska/claude-elixir-phoenix — Searchable Elixir/Phoenix/Ecto solution documentation system with YAML frontmatter. Builds
- oliver-kriska/claude-elixir-phoenix — Searchable Elixir/Phoenix/Ecto solution documentation system with YAML
- oliver-kriska/claude-elixir-phoenix — Searchable Elixir/Phoenix/Ecto solution documentation system with YAML
- oliver-kriska/claude-elixir-phoenix — Searchable Elixir/Phoenix/Ecto solution documentation system with YAML
- oliver-kriska/claude-elixir-phoenix — Searchable Elixir/Phoenix/Ecto solution documentation system with YAML