Agent skill

Product Map

by PackmindHub in PackmindHub/packmind

Produces a functional cartography of the Packmind application (domains × features × usage signals) as product-map.md at the project root.

Apache-2.0Auto-check passedAgent Workflows

Install Product Map

skills CLI
$ npx skills add PackmindHub/packmind --skill product-map -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PackmindHub/packmind product-map --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PackmindHub/packmind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/product-map .claude/skills/product-map && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
product-map
GitHub stars
317
Token cost
~2.4k tokens
SKILL.md length
861 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
Apache-2.0

At a glance

Produces a functional cartography of the Packmind application (domains × features × usage signals) as product-map.md at the project root.

  • Works in 6 steps: Confirm Scope → Seed Domain Taxonomy → Launch 3 Parallel Source Subagents → …
  • Explicitly runs /product-map
  • SKILL.md covers Phase 0: Confirm Scope, Phase 1: Seed Domain Taxonomy, Phase 2: Launch 3 Parallel… and Phase 3: Merge Sources Per…, plus 3 more sections
  • Calls git

What it does

Product Map is an agent skill from PackmindHub/packmind. Produces a functional cartography of the Packmind application (domains × features × usage signals) as product-map.md at the project root. Manual-only skill — invoke ONLY when the user explicitly runs /product-map or asks to "map the application", "cartographier l'application", "list every feature", or "find decommission candidates". Do NOT auto-load on generic mentions of features, domains, spaces, or standards.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. The repository describes itself as: Packmind seamlessly captures your engineering playbook and turns it into AI context, guardrails, and governance. The licence is Apache-2.0.

When your agent uses it

  • Explicitly runs /product-map
  • Asks to map the application
  • Cartographier lapplication
  • List every feature

Example prompts

  • “map the application”
  • “cartographier l”
  • “list every feature”
  • “/product-map”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Confirm Scope
  2. Seed Domain Taxonomy
  3. Launch 3 Parallel Source Subagents
  4. Merge Sources Per Feature
  5. Compute Usage Signal
  6. Write Report

What it can do on your machine

Read from SKILL.md and the folder at commit 8a10541. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Product Map loads about 2.4k tokens when it runs. Until then it costs about 108 tokens; SKILL.md has 861 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~108
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PackmindHub/packmind at commit 8a10541, republished under its Apache-2.0 licence (© PackmindHub). 861 words, ~2,412 tokens.

Download SKILL.mdSave it as .claude/skills/product-map/SKILL.md (or your agent's skills folder).
name
product-map
description
Produces a functional cartography of the Packmind application (domains × features × usage signals) as `product-map.md` at the project root. Manual-only skill — invoke ONLY when the user explicitly runs `/product-map` or asks to "map the application", "cartographier l'application", "list every feature", or "find decommission candidates". Do NOT auto-load on generic mentions of features, domains, spaces, or standards.

Product Map

Build a point-in-time functional map of the Packmind application by scanning the backend (use cases + endpoints), the frontend (routes + pages), and the CLI (commands). Aggregate features by functional domain, compute a usage signal per feature, and write a single Markdown report at product-map.md (project root). The report supports decommission decisions: features with weak signals (no frontend entry, no recent activity, no tests) become candidates for removal.

Manual-only. Run only when the user explicitly invokes /product-map or asks for a functional cartography. The description above intentionally avoids generic trigger keywords.

This skill only maps — it does not delete anything. Decommission decisions stay with the user.

Phase 0: Confirm Scope

Before scanning, confirm with the user:

  • Target output path — default product-map.md at project root; offer to override.
  • Scope override — default scans apps/api, apps/frontend, apps/cli, and packages/*. Ask if any package should be excluded (e.g., infra-only packages like migrations, logger, node-utils).
  • Decommission tolerance — confirm signal heuristics (see Phase 4); user may want stricter or looser flagging.

If the user invoked the skill with explicit instructions, skip confirmation and proceed with stated parameters.

Phase 1: Seed Domain Taxonomy

Before launching subagents, read packages/ and apps/ to discover the domain taxonomy. Use folder names as the seed list — do NOT invent domains.

The seed domains in this codebase (verify by ls packages/ at run time, this list may drift):

  • Spaces — packages/spaces, packages/spaces-management
  • Standards — packages/standards, packages/linter, packages/linter-ast, packages/linter-execution
  • Skills — packages/skills
  • Recipes / Playbooks — packages/recipes
  • Change Proposals — packages/playbook-change-applier, packages/playbook-change-management
  • Users / Auth / Organizations — packages/accounts
  • AI Agents / Coding Agent — packages/coding-agent
  • Git Integration — packages/git
  • Analytics — packages/amplitude
  • Support / Crisp — packages/crisp
  • Deployments — packages/deployments
  • LLM Infrastructure — packages/llm
  • Legacy Import — packages/import-practices-legacy

Cross-cutting infra packages (logger, node-utils, migrations, types, ui, frontend, editions, test-utils, integration-tests, plugins) are NOT user-facing domains — exclude from the map unless they expose user-facing features (e.g., editions may expose subscription/edition selection).

Pass this seed taxonomy to all subagents so they classify consistently.

Phase 2: Launch 3 Parallel Source Subagents

Launch three Agent(general-purpose) subagents simultaneously. Each scans one source and returns a structured feature list classified by domain.

SubagentSourceScans
1. BackendUse cases + API endpointspackages/*/src/application/useCases/**/*.ts, NestJS controllers in apps/api/src/**/*.controller.ts
2. FrontendRoutes + pagesapps/frontend/src router config + page components
3. CLICommander commandsapps/cli/src command definitions
Subagent Prompt Template

Each subagent receives:

  1. The seed domain taxonomy from Phase 1
  2. The source-specific instructions below
  3. A request for structured output
You are mapping the Packmind application. Your scope: <SOURCE_NAME>.

# Domain taxonomy (use these labels — do not invent new domains unless you find a clear standalone area):
<seed taxonomy>

# Your task
Scan <PATHS> and produce a list of every user-facing feature exposed through this source.
Group features under their domain. A "feature" is a user-meaningful capability (e.g.
"create a space", "invite a member", "archive a standard"), not a technical implementation
detail (e.g. "TypeORM repository method").

For each feature, return:
- domain: <one of the seed labels, or "Other (justify)">
- feature: short imperative phrase (≤ 8 words)
- evidence: file path(s) + relevant export/route/command name
- visibility: "user-facing" or "admin-only" or "internal"

Skip:
- Pure infra plumbing (logging, config loading, health checks)
- Cross-cutting middleware (auth guards, rate limiters) — list them once under "Auth"
- Test utilities

# Output format
Markdown list grouped by domain. One bullet per feature. End with a 2-line summary
(total features, anything unclassifiable).
Source-Specific Instructions

Backend subagent: scan use cases first (they map 1:1 to features), then controllers to confirm the endpoint exists. A use case with no controller binding is an "orphan" — flag it as visibility: internal.

Frontend subagent: scan the router config first to enumerate routes, then read each route's page component to determine what the user actually does there. A route that only renders a placeholder or 404 is a candidate for decommission — flag it.

CLI subagent: enumerate every Commander .command(...) registration. Subcommands count as separate features (e.g. playbook add and playbook submit are two features under "Change Proposals").

Sequential Fallback

If the Agent tool is unavailable, perform the three scans sequentially in the current session using Grep + Read. Maintain the same output structure.

Show full SKILL.md (346 more words)Show less

Phase 3: Merge Sources Per Feature

After subagents return, merge their lists into a single feature table. Two source entries belong to the same feature when:

  • Same domain, AND
  • Feature phrases describe the same capability (e.g. "create a space" backend ↔ "Create Space" frontend route ↔ space create CLI command)

For each unified feature row, record which sources cover it:

DomainFeatureBackendFrontendCLIEvidence
SpacesCreate a space✓✓✓packages/spaces/src/.../createSpace.ts, /spaces/new, space create

If a feature exists in only one source, that is a signal — keep the row, leave the missing sources blank.

Phase 4: Compute Usage Signal

For each feature row, compute additional signal columns. These power the decommission section.

SignalHow to compute
TestsGrep for the use case class or controller path in **/*.spec.ts and **/*.test.ts. Mark ✓ if at least one test references it.
AmplitudeGrep for the feature's domain prefix in packages/amplitude/src/application/AmplitudeEventListener.ts. Mark ✓ if any event for this domain is subscribed AND the event name plausibly matches the feature.
Recent activitygit log --since="6 months ago" --pretty=format:%H -- <evidence path>. Mark ✓ if at least one commit.

A feature is a decommission candidate when ANY of the following holds:

  • No frontend coverage AND no CLI coverage (= backend-only, possibly orphaned)
  • No tests AND no recent activity (= cold code)
  • Frontend route exists but backend use case missing (= dead UI)
  • Backend use case exists but no entry point in any client (= dead endpoint)

Do NOT auto-delete — only flag.

Phase 5: Write Report

Write product-map.md at the project root with this structure:

markdown
# Packmind Product Map — <YYYY-MM-DD>

> Snapshot of every user-facing feature, grouped by functional domain.
> Generated by the `product-map` skill. Manual invocation only.

## Scope

- Sources scanned: backend use cases & endpoints, frontend routes & pages, CLI commands
- Packages excluded: <list>
- Git revision: <short SHA>

## Functional Map

| Domain | Feature | Backend | Frontend | CLI | Tests | Amplitude | Recent | Notes |
|--------|---------|:-:|:-:|:-:|:-:|:-:|:-:|-------|
| Spaces | Create a space | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Spaces | Archive a space | ✓ | – | – | – | – | – | backend-only orphan |
| ...

## Decommission Candidates

Features matching at least one decommission heuristic (see methodology). Sorted by
weakest signal first.

| Feature | Reason | Evidence |
|---------|--------|----------|
| Archive a space | backend-only, no tests, no commits in 6 months | `packages/spaces/src/.../archiveSpace.ts` |
| ...

## Methodology

- A feature = a user-meaningful capability, not a technical implementation detail.
- Sources merged when same domain + same capability across backend/frontend/CLI.
- Signal heuristics: see SKILL.md Phase 4.
- This is a point-in-time snapshot — re-run to refresh.

End by printing to the user:

  • Path of the generated report
  • Total features mapped
  • Total decommission candidates
  • Top 3 domains by feature count

Operating Rules

  • Never delete code based on the report. Decommission decisions belong to the user.
  • Do not invent domains. If a feature does not fit the seed taxonomy, place it under "Other" with a one-line justification — the user will refine the taxonomy on re-run.
  • Stay factual. Every row must cite an evidence path. No inferred features.
  • Re-runnable. The skill produces a fresh snapshot each run; overwrite the previous report after confirming with the user.

© PackmindHub, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/product-map of PackmindHub/packmind.

Open the folder on GitHubat commit 8a10541

Compare with similar skills

Product Map next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Product Map compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Product Map this skillPackmindHub/packmind317—~2.4kAutomated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from PackmindHub/packmind

All 35 skills in this repo
  • Michel CLI Demo Recorder

    PackmindHub/packmind

    Produce proof-of-execution demos of the Packmind CLI (packmind-cli) as terminal-styled images (colors and formatting preserved exactly), for embedding in a GitHub PR.

    317 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Michel UI Demo Recorder

    PackmindHub/packmind

    Record polished UI demo videos and screenshots of a running web app using Playwright MCP — for client deliverables, release notes, feature walkthroughs, or bug repros.

    317 GitHub stars~6.4k tokensUpdated today
    Auto-check passed
  • Packmind Create Skill

    PackmindHub/packmind

    Guide for creating effective skills. An agent skill from PackmindHub/packmind.

    317 GitHub stars~3.5k tokensUpdated today
    Auto-check: notes
  • Doc Audit

    PackmindHub/packmind

    Audit Packmind end-user documentation (apps/doc/) for broken links, outdated CLI references, non-existent concepts, misleading information, and missing coverage.

    317 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Feature Sprint

    PackmindHub/packmind

    Execute the implementation plan produced by /feature-spec. An agent skill from PackmindHub/packmind.

    317 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Review an implemented GitHub issue the way a senior Packmind engineer would — the human-judgment checks that ESLint, the TypeScript compiler, and e2e tests cannot catch (authorization scoping…

    317 GitHub stars~2.7k tokensUpdated today
    Auto-check passed

Categories

Questions about Product Map

What does Product Map do?

Produces a functional cartography of the Packmind application (domains × features × usage signals) as product-map.md at the project root. Product Map is an agent skill from PackmindHub/packmind.md at the project root.

When should I use Product Map?

Product Map fits situations like: explicitly runs /product-map; asks to map the application; cartographier lapplication; list every feature.

How do I install Product Map in Claude Code?

Run `npx skills add PackmindHub/packmind --skill product-map -a claude-code`. Or copy the skill folder (.agents/skills/product-map in PackmindHub/packmind) into .claude/skills/product-map in your project. Claude Code loads it when a task matches its description.

How do I install Product Map in Codex?

Run `npx skills add PackmindHub/packmind --skill product-map -a codex`. Or copy the skill folder (.agents/skills/product-map in PackmindHub/packmind) into .agents/skills/product-map in your project. Codex loads it when a task matches its description.

Can I use Product Map in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PackmindHub/packmind --skill product-map -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/product-map, .gemini/skills/product-map, .github/skills/product-map and .opencode/skills/product-map in your project.

What does Product Map need to run?

Going by SKILL.md and its folder, Product Map needs the command-line tools its instructions call (git).

Does Product Map access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Product Map safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Product Map use?

Product Map is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Product Map use?

About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Product Map?

Skills that share tags, products or a category with Product Map: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Product Map?

PackmindHub (a GitHub organization) maintains it in PackmindHub/packmind, which has 317 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 8, 2026.

Source: PackmindHub/packmind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.