AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Pm Arch

skill-wei63w-pm-manager-pm-arch · by wei63w

Scan project structure and generate Mermaid architecture diagrams + flowcharts under .pm/architecture/.

No reviews yet
0 installs
34 views
0.0% view→install

Install

$ agentstack add skill-wei63w-pm-manager-pm-arch

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-wei63w-pm-manager-pm-arch)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Pm Arch? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

User Input

$ARGUMENTS

Outline

  1. Require .pm/ initialized; else recommend /pm-init.
  2. Run pm arch from the project root (preferred). This writes:
  • .pm/architecture/system-context.mmd — system context (C4 L1 style)
  • .pm/architecture/service-dependencies.mmd — module/service dependency graph
  • .pm/architecture/request-flow.mmd — request flowchart
  • .pm/architecture/deploy-flow.mmd — build/deploy flowchart
  • .pm/architecture/overview.md — embeds all Mermaid diagrams + detected summary
  • .pm/architecture/scan.json — machine-readable scan meta
  1. If CLI is unavailable, generate the same files yourself by scanning:
  • Maven/Gradle modules, docker-compose services
  • Spring @RestController / @FeignClient, application*.yml externals (DB/MQ/Redis/Nacos)
  • Node/Python route entrypoints when present
  1. Review diagrams: fix wrong edges, rename nodes, add missing externals. Prefer editing the .mmd files then refreshing the Mermaid blocks in overview.md.
  2. Optional charter compare: mark out-of-scope services or missing in-scope capabilities in architecture/findings.md (with confidence).
  3. Required closing: short Summary + Open these links per templates/commands/_closing.md:
  • .pm/architecture/overview.md (primary — open this)
  • .pm/architecture/request-flow.mmd / system-context.mmd
  • Explicitly ask the user to open the architecture overview.

Done When

  • [ ] Four .mmd files + overview.md exist under .pm/architecture/
  • [ ] Diagrams reflect this repo (not generic placeholders)
  • [ ] No secrets in diagram labels or findings

Shared Workflow (all /pm-* commands)

Follow this order when the command mutates .pm/ state:

  1. Read .pm/config/project.yaml and .pm/config/local.yaml (if missing and command is not init → recommend /pm-init).
  2. On-demand scan using sources + extra_scan_roots + --path + conversation paste (highest priority for /pm-fix).
  3. Desensitize evidence → .pm/evidence/scans/{command}-{timestamp}.json (secrets → ***).
  4. Optional charter compare when charter.status != absent (attach confidence).
  5. Incremental merge into module findings.md / todo.md; sync authoritative state/todo.md.
  6. Refresh state/overview.md (include Today's Top3, max 3, blocking+high by default).
  7. Output risk summary + recommended next step (≤20 lines). Never auto-write source/SQL/cloud without confirmation.
  1. Closing (required): end the user-facing reply with Summary + Open these links per templates/commands/_closing.md (dashboard and/or architecture overviews). Ask the user to open them.

Design baseline: local pm-manager-v*.md (not published).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.