Skip to content
Agentmart
Submit a tool

grafel-business-docs

Generate group-synthesised, PM-facing documentation — product capabilities, business domain glossary, user journeys as plain-language narratives, business…

Skill by cajasmota

IndexedMIT★ 24
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/cajasmota-grafel-business-docs

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate group-synthesised, PM-facing documentation — product capabilities, business domain glossary, user journeys as plain-language narratives, business rules reverse-engineered from code, and a business overview landing page. Zero internal symbols. Does NOT require tech docs to have been run first — graph-only fallback is built into every pass.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/grafel-business-docs

What's inside

Skill name
grafel-business-docs
Description
Generate group-synthesised, PM-facing documentation — product capabilities, business domain glossary, user journeys as plain-language narratives, business rules reverse-engineered from code, and a business overview landing page. Zero internal symbols. Does NOT require tech docs to have been run first — graph-only fallback is built into every pass.
License
MIT
Instructions
94 lines in SKILL.md · view on GitHub

Files (13)

  • SKILL.md
  • 15-business-domain.md · prompts/
  • 16-business-capabilities.md · prompts/
  • 17-business-journeys.md · prompts/
  • 18-business-rules.md · prompts/
  • 19-business-overview.md · prompts/
  • anchor-contract.md · snippets/
  • business-voice.md · snippets/
  • cross-link-format.md · snippets/
  • docgen-repair-emission.md · snippets/
  • link-hygiene.md · snippets/
  • progress-tracking.md · snippets/
  • verification-checklist.md · snippets/

SKILL.md (first lines)

# grafel-business-docs

Generate the business-tier documentation set for a registered grafel group. All output is synthesised across every repo in the group and written in plain business language for PMs, designers, and non-engineers.

## Key design point: independent of tech docs

This skill does **NOT** hard-depend on `/grafel-tech-docs` having been run. Every business pass has an explicit graph-only fallback: when technical-tier module READMEs are absent, the pass derives the same content directly from the graph via MCP queries. Running `/grafel-tech-docs` first improves fidelity (the business writers can reference engineer-written module names already translated to business voice), but it is not required.

**Soft dependency path:** `grafel-resolve` → `grafel-business-docs` (minimum viable).
**Enhanced path:** `grafel-resolve` → `grafel-tech-docs` → `grafel-business-docs` (higher fidelity).

## CRITICAL TOOL DISCIPLINE

For ANY structural question about the codebase, use grafel MCP tools: `grafel_orient (view=me)`, `grafel_find`, `grafel_inspect`, `grafel_subgraph`, `grafel_trace`, `grafel_orient (view=clusters)`, `grafel_orient (view=overview)`. Do NOT grep or read source files for entity discovery.

### Pre-flight assertion

Call `grafel_orient (view=me)` before doing anything. If it errors: ABORT with "grafel MCP not configured for this directory. Run `/mcp` to fix, then re-invoke `/grafel-business-docs`."

## When to use this skill

- "Write business docs / PM docs for this group."
- "Generate product capabilities and user journeys."
- "Produce the business overview."
- "Document what the product does in plain English."
- `/grafel-business-docs` (slash command).

Do **not** invoke for technical module documentation (that is `/grafel-tech-docs`).

## Business voice contract

Every business pass reads `snippets/business-voice.md` first (if present). The contract: PM audience, zero internal symbol names, zero code-style mermaid diagrams. All pages carry a collapsed `<details>` provenance block at the bottom (the ONLY place a file path or symbol may appear) so an engineer can audit without polluting the PM reading experience.

## Staging-dir + atomic promote architecture

Same pattern as `/grafel-tech-docs`:
1. Pass 15 (first pass) calls `grafel_docgen(action="start", group="<group>")` → receives `run_id` and `staging_path`.
2. Passes 15–19 write all files into `<staging_path>/<relative-path>`.
3. Pass 19 (last pass) calls `grafel_docgen(action="validate", run_id)` then `grafel_docgen(action="promote", run_id)`.

## Pass chain

Run in this order (Pass 15 first, Pass 19 last — Pass 19 indexes the others):

| Pass | Prompt | Purpose | Est. time |
|------|--------|---------|-----------|
| 15 | `prompts/15-business-domain.md` | Business domain model + glossary: business nouns defined in plain language | 5–10 min |
| 16 | `prompts/16-business-capabilities.md` | Product capabilities: what the system does + why, grouped by business outcome | 8–20 min |
| 17 | `prompts/17-business-journeys.md` | User journeys as plain-language narratives | 5–15 min |
| 18 | `prompts/18-business-rules.md` | Business rules reverse-engineered from validation/permission/conditional logic | 5–15 min |
| 19 | `prompts/19-business-overview.md` | Business landing page: pitch + indexes into capabilities, journeys, glossary, rules. Runs last. | 3–5 min |

**Total wall time:** 25 min – 1 h depending on group size.

## Output layout

```
~/.grafel/docs/<group>/business/
  overview.md                   # Pass 19 — landing page
  capabilities/
    <capability-slug>.md        # Pass 16 — one per product capability
  domain-glossary.md            # Pass 15 — business vocabulary
  journeys/
    <journey-slug>.md           # Pass 17 — plain-language user journeys
  rules/
    index.md                    # Pass 18 — business rules
    <area>.md                   # optional — if one area's rules outgrow index.md
```

The business tier is **not per-repo**. It is synthesised across every repo in the group and written to the single group-level `business/` directory. The webui surfaces this under the Business chooser tab.

## grafel MCP tool surface

- `grafel_orient (view=me)` — group/repo resolution.
- `grafel_find`, `grafel_inspect`, `grafel_subgraph` — entity navigation.
- `grafel_trace`, `grafel_orient (view=clusters)` — flow and cluster navigation.
- `grafel_docgen_apply (kind=enrichments)` — read enriched frontmatter for endpoint/flow summaries.
- `grafel_findings (action=save)` — persist domain interview answers.
- `grafel_docgen (action=start)`, `grafel_docgen (action=validate)`, `grafel_docgen (action=promote)` — staging lifecycle.

## Related

- `skills/grafel-resolve/SKILL.md` — recommended prerequisite.
- `skills/grafel-tech-docs/SKILL.md` — optional soft dependency; improves fidelity.
- `skills/grafel-graph-enrich/SKILL.md` — enriched endpoint/flow summaries feed business capability descriptions.
- `skills/generate-docs/SKILL.md` — the monolith this skill was extracted from.

## Read next

After generating business docs, run deeper analysis or present findings to stakeholders:
→ `/grafel-security-audit` — two-phase security audit; the business-analyst persona reads these docs.
→ `/grafel-consult` — panel of specialist personas including business analyst and architect; hard-depends on tech docs but soft-depends on business docs.

From cajasmota/grafel, MIT.

More from cajasmota/grafel

Signals

Stars
24
Forks
7
Open issues
282
Last commit (this folder)
Jun 24, 2026 (4 months ago)
Last release
Sep 23, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from cajasmota

Cite this page

grafel-business-docs skill. Agent Mart. https://agentmart.dev/skills/cajasmota-grafel-business-docs (last updated 2026-10-24)