Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

org-documentation

БесплатноБез исполняемых скриптовНе проверен

Generate comprehensive architecture and operations documentation for one or more LimaCharlie organizations. Accepts org names or OIDs. Produces markdown files…

refractionPOINTот refractionPOINT★ 32 звезды на GitHub

Об этом скилле

LimaCharlie Organization Documentation Generator

Generate complete, wiki-ready architecture and operations guides for one or more LimaCharlie organizations. Supports single org, multiple orgs by name or OID, or all accessible orgs.


LimaCharlie Integration

Prerequisites: Run /init-lc to initialize LimaCharlie context.

LimaCharlie CLI Access

All LimaCharlie operations use the limacharlie CLI directly:

limacharlie <noun> <verb> --oid <oid> --output yaml [flags]

For command help and discovery: limacharlie <command> --ai-help

Critical Rules

Rule Wrong Right
CLI Access Call MCP tools or spawn api-executor Use Bash("limacharlie ...") directly
Output Format --output json --output yaml (more token-efficient)
Filter Output Pipe to jq/yq Use --filter JMESPATH to select fields
Timestamps Calculate epoch values Use date +%s or date -d '7 days ago' +%s
OID Use org name Use UUID (call limacharlie org list if needed)
Secrets Include values in docs Only document secret names, NEVER values

Overview

This skill generates a complete set of markdown documentation files for a LimaCharlie organization, suitable for upload to a GitHub wiki, MkDocs site, or Confluence. The output covers:

  • System architecture and data flow diagrams (Mermaid)
  • Sensor inventory (EDR, extensions, cloud adapters)
  • D&R rule catalog organized by category
  • AI agent teams, workflows, and inter-agent communication
  • Extension subscriptions and data pipeline
  • Access control (API keys, secrets, installation keys, SOPs)
  • Operational runbooks for day-to-day administration
  • Automation scripts for keeping documentation current

When to Use

  • "Document this org" / "Create architecture docs for white-sands"
  • "Generate a wiki for all my orgs" / "Document all organizations"
  • "Create docs for white-sands and red-rock" (multiple by name)
  • "Document orgs b85fd2bd-... and c1ffedc0-..." (multiple by OID)
  • "Create onboarding documentation for a new SOC engineer"
  • "Audit the org configuration and produce a report"
  • "Export org architecture to markdown"

Workflow

Phase 1: Gather Requirements

  1. Identify the target organization(s). The user may specify:

    • A single org by name or OID
    • Multiple orgs by name or OID (comma-separated or listed)
    • "all" / "all orgs" / "every org" to document all accessible organizations

    First, list all accessible orgs to resolve names to OIDs:

    limacharlie org list --output yaml
    

    Resolving org identifiers:

    • If the user provides a UUID (matches [0-9a-f-]{36}), use it directly as the OID
    • If the user provides a name, match it against the name field from org list
    • If the user says "all", use every org returned by org list
    • If an org name doesn't match, ask the user to clarify — never guess
  2. Ask where to write the output:

    • Single org: default ./docs/<org-name>/
    • Multiple orgs: default ./docs/ with subdirectories per org: ./docs/<org-name>/ Confirm with the user.
  3. Check for optional GitHub repo creation: Ask if they want the docs pushed to a new GitHub repo.

Phase 2: Collect Organization Data

Spawn one org-doc-collector sub-agent per organization to gather the full configuration inventory. For multiple orgs, spawn ALL agents in a SINGLE message for parallel execution.

Single org:

Task(
  subagent_type="lc-advanced-skills:org-doc-collector",
  prompt="Collect full configuration inventory for organization '<org-name>' (OID: <oid>)."
)

Multiple orgs (spawn ALL in parallel in one message):

Task(
  subagent_type="lc-advanced-skills:org-doc-collector",
  prompt="Collect full configuration inventory for organization '<org-1-name>' (OID: <oid-1>)."
)
Task(
  subagent_type="lc-advanced-skills:org-doc-collector",
  prompt="Collect full configuration inventory for organization '<org-2-name>' (OID: <oid-2>)."
)
// ... one per org, all in the same message

Each agent returns a structured YAML document with all sensors, rules, agents, extensions, etc.

Phase 3: Generate Documentation Files

For each organization, generate a complete set of documentation files under <output-dir>/<org-name>/. Use the templates below as the structure — populate them with the actual data from that org's collector agent.

If documenting multiple orgs, also generate a top-level README.md index at <output-dir>/README.md that links to each org's documentation:

# LimaCharlie Organization Documentation

| Organization | OID | Docs |
|--------------|-----|------|
| <org-1-name> | `<oid-1>` | [View docs](<org-1-name>/README.md) |
| <org-2-name> | `<oid-2>` | [View docs](<org-2-name>/README.md) |

Files to generate:

File Content
README.md Main entry p
Полный SKILL.md на GitHub

Установить org-documentation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Task
Read
Bash
Write
Glob
Grep
Edit
AskUserQuestion

FAQ

Что делает скилл org-documentation?

Generate comprehensive architecture and operations documentation for one or more LimaCharlie organizations. Accepts org names or OIDs. Produces markdown files covering sensors, D&R rules, AI agents, extensions, outputs, cloud adapters, access control, and operational runbooks. Includes Mermaid diagrams, GitHub callouts, collapsible sections, and verified LC docs links. Use for "document this org", "document all my orgs", "create architecture docs", "generate a wiki", "org inventory".

Как установить скилл org-documentation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл org-documentation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить org-documentation с