Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Compound Docs

ASecurity

Document solved problems for team reuse. Provides process knowledge for /ia-compound. Use when documenting a resolved issue, writing up lessons learned, capturing a post-mortem, adding to the knowledge base, or building searchable institutional knowledge after debugging.

12 stars
0 votes
0 copies
0 views
Added 9/22/2026
code-qualitygodebuggingperformancedocumentation

Security Analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned 9/22/2026

$npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill compound-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compound Docs?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Compound Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/luokai0-compound-docs/badge)](https://www.skillsdirectory.com/skills/luokai0-compound-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: compound-docs
class: workflow
description: >-
  Document solved problems for team reuse. Provides process knowledge for
  /ia-compound. Use when documenting a resolved issue, writing up
  lessons learned, capturing a post-mortem, adding to the knowledge base,
  or building searchable institutional knowledge after debugging.
disable-model-invocation: true
---

# compound-docs

## Process

Single-file architecture -- one markdown file per problem in its symptom category directory (e.g., `docs/solutions/performance-issues/n-plus-one-briefs.md`), with YAML frontmatter for metadata.

Follow the 7-step documentation capture process. For full details, see [documentation-process.md](./references/documentation-process.md).

1. **Detect confirmation** -- Auto-invoke after "that worked", "it's fixed", etc. Skip trivial fixes.
2. **Gather context** -- Extract module, symptom, investigation attempts, root cause, solution, prevention. BLOCK if critical context missing.
3. **Check existing docs** -- Search `docs/solutions/` for similar issues. If found, offer: new doc with cross-reference, update existing, or other.
4. **Generate filename** -- Format: `[sanitized-symptom]-[module]-[YYYYMMDD].md`
5. **Validate YAML** -- Run [validate-frontmatter.sh](./scripts/validate-frontmatter.sh) against the file. If invalid, fix the frontmatter and re-run until it passes.
6. **Create documentation** -- Write file to `docs/solutions/[category]/[filename].md` using [resolution-template.md](./assets/resolution-template.md).
7. **Cross-reference** -- Link related issues. Detect critical patterns (3+ similar issues).

---

## Decision Menu

After successful documentation, present and WAIT for user response:

```
Solution documented

File created:
- docs/solutions/[category]/[filename].md

What's next?
1. Continue workflow (recommended)
2. Add to Required Reading - Promote to critical patterns
3. Link related issues - Connect to similar problems
4. Add to existing skill - Add to a learning skill
5. Create new skill - Extract into new learning skill
6. View documentation - See what was captured
7. Other
```

For detailed response handling, see [documentation-process.md](./references/documentation-process.md).

---

## Success Criteria

- YAML frontmatter validated (all required fields, correct formats)
- File created in `docs/solutions/[category]/[filename].md`
- Enum values match schema exactly
- Code examples included in solution section
- Cross-references added if related issues found
- User presented with decision menu and action confirmed

---

## References

- [documentation-process.md](./references/documentation-process.md) - Full 7-step process with validation gates
- [yaml-schema.md](./references/yaml-schema.md) - YAML frontmatter schema and enum values
- [quality-guidelines.md](./references/quality-guidelines.md) - Quality standards, execution rules, error handling
- [example-scenario.md](./references/example-scenario.md) - Complete walkthrough of documenting an N+1 query fix
- [resolution-template.md](./assets/resolution-template.md) - Template for documentation files
- [critical-pattern-template.md](./assets/critical-pattern-template.md) - Template for critical pattern entries
- [validate-frontmatter.sh](./scripts/validate-frontmatter.sh) - Validate YAML frontmatter against schema

## Integration

- `/ia-compound-refresh` command -- reviews `docs/solutions/` for stale learnings

Attribution

luokai0luokai0
View sourceSee grades on GitHubMore from luokai0 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman Review

Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.

1100021 votes

Caveman Commit

Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.

1100021 votes

Springboot Verification

Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.

2456590 votes

Verification Loop

一个全面的 Claude Code 会话验证系统。

2456590 votes

Django Verification

Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.

2456590 votes
View all in code-quality →