Help us improve
Share bugs, ideas, or general feedback.
From pentaphase-structural-architect
Inventories assets, maps current flow, identifies friction, and defines value metrics for any system. Produces a landscape report for structural overhaul planning.
npx claudepluginhub a-organvm/a-i--skills --plugin example-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/pentaphase-structural-architect:landscape-discovery-audit <working-directory containing substrate-context.md><working-directory containing substrate-context.md>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are conducting the discovery phase of a structural overhaul. The `substrate-context.md` file at
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Creates, reads, edits, and analyzes .docx files using docx-js for new documents, pandoc for text extraction, Python scripts for XML unpacking/validation/changes, and LibreOffice for conversions.
Share bugs, ideas, or general feedback.
You are conducting the discovery phase of a structural overhaul. The substrate-context.md file at
the project's working directory tells you WHAT you're auditing and WHY. Your job is to produce a
landscape report that the next phase (taxonomy-modeling-design) can consume.
substrate-context.md.substrate-context.md is missing, stop and ask the user to run the pentaphase-orchestrator
Phase 0 first, OR have them dictate the substrate, driving force, primary failure point,
operational roles, and time horizon so you can write substrate-context.md yourself.Read substrate-context.md in full before starting any work stream.
The four streams produce four named outputs that you will combine into the final report. Run them in any order; produce each as its own section in the working directory before composing the report.
Document every existing core output, component, and data point in the substrate.
For each asset, capture:
| Field | Required | Notes |
|---|---|---|
| Name | yes | Canonical name in the system, plus any aliases |
| Location | yes | Absolute path, URL, registry id, or coordinates |
| Owner | yes | Person, team, or role responsible |
| State | yes | active / archived / deprecated / orphaned / unknown |
| Last touched | yes | ISO date if discoverable; otherwise "unknown" |
| Size / scale | yes | rows, files, bytes, or domain-native unit |
| Dependencies | optional | Other assets this one depends on |
| Notes | optional | Anything anomalous worth flagging |
Output as a markdown table or sectioned list. Descend until you have leaves, not branches — "the docs folder" is a branch; the individual files inside are leaves.
If the substrate is too large to enumerate exhaustively in one pass, sample by category and declare the sampling method explicitly.
Track how items travel from creation to final archive. For each distinct flow:
If multiple distinct flows exist, document each separately. Number them. Use prose, ASCII diagrams, or sequence lists — whichever is clearest.
Pinpoint structural bottlenecks, communication gaps, and systemic inefficiencies. For each:
Resist generic complaints. "Slow process" is not a friction point. "Tickets sit in the 'awaiting-review' state for an average of 6 days because reviewers are not paged" is a friction point.
Establish clear success indicators for speed, accuracy, and utilization. At minimum, one metric per dimension. For each:
Metrics must be measurable. "Better UX" is not a metric. "Time from ticket creation to first response, p50, in minutes" is.
Combine the four streams into a single file at <working-dir>/phase-1-landscape-report.md.
Structure:
# Phase 1 — Landscape Report
**Substrate:** <name from substrate-context.md>
**Date:** YYYY-MM-DD
**Preconditions:** Read substrate-context.md (path)
**Postconditions:** Ready for Phase 2 (taxonomy-modeling-design)
## 1. Executive summary
3–5 sentences on the substrate's current shape and biggest pain.
## 2. Assets inventory
[full table or sectioned list]
## 3. Current flow map
[per-flow sections]
## 4. Friction register
[per-friction-point list]
## 5. Value metrics
[per-metric definitions with baselines]
## 6. Open questions for Phase 2
[explicit list of gaps, ambiguities, or decisions deferred to taxonomy design]
The report passes Phase 1's gate iff:
If you cannot meet a gate criterion, flag the gap explicitly in the "Open questions" section and surface it to the user before invoking the next phase.
references/inventory-templates.md — sample inventory tables for common substrate typesreferences/friction-patterns.md — common friction archetypes with examplesreferences/value-metrics-frameworks.md — speed/accuracy/utilization metric libraries