Skip to content
Back to skills

Setup Pathmode Workflow

ASecurity

Interview the user about their development workflow and capture the answers as durable context. Use when starting a new project with Pathmode, onboarding a teammate to an existing project, or when intent specs feel disconnected from how the team actually ships. Output is workflow conventions the next agent session will read.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 25, 2026
ai-agentsrustgogitapi

Works with

  • claude code
  • cursor
  • api
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 27, 2026

npx -y skills add pathmodeio/claude-plugin --skill setup-pathmode-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup Pathmode Workflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setup Pathmode Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pathmodeio-setup-pathmode-workflow/badge)](https://www.skillsdirectory.com/skills/pathmodeio-setup-pathmode-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: setup-pathmode-workflow
description: Interview the user about their development workflow and capture the answers as durable context. Use when starting a new project with Pathmode, onboarding a teammate to an existing project, or when intent specs feel disconnected from how the team actually ships. Output is workflow conventions the next agent session will read.
---

<what-to-do>

For team review, run npx @pathmode/mcp-server@latest adopt in the repository. It prints a link and a code; give both to the person for browser approval. If it reports AUTHORIZATION_PENDING, stop and rerun the same command after approval. No spec is uploaded before approval. The browser-generated `adopt pm_adopt_...` command still works.


Walk the user through the workflow questions below. Ask ONE question at a time. For each question, propose your best-guess answer based on what you can see in the repo (package.json scripts, CI config, README, existing PRs). The user accepts or corrects.

Questions to cover (in order):

1. **Primary agent**: Which AI coding agent does the user primarily work with? (Claude Code, Cursor, Windsurf, Copilot, mixed)
2. **Issue tracker**: Where do tickets live? (Linear, Jira, GitHub Issues, none yet)
3. **Test command**: What does the user run to prove code works locally? (e.g., `npm test`, `pytest`, `pnpm vitest`)
4. **Build/typecheck command**: What does the user run to prove code compiles? (e.g., `npm run build`, `tsc --noEmit`)
5. **PR conventions**: How does code get reviewed before merge? (draft PR + review, trunk-based, solo)
6. **Status mapping**: What concrete event marks an intent as `shipped`? As `verified`? (merge to main, deploy to prod, metric hold for 1 week)
7. **Implementation note convention**: Where should agent decisions get captured? (Pathmode `log_implementation_note`, ADR file, commit messages, PR descriptions)

When all questions are answered, output a single self-contained block the user can paste into their `CLAUDE.md` file (or the equivalent for their agent). Format:

```markdown
## Pathmode Workflow Conventions

- Primary agent: [answer]
- Issue tracker: [answer]
- Test: `[command]`
- Typecheck/build: `[command]`
- PR conventions: [answer]
- Status mapping: shipped = [event]; verified = [event]
- Implementation notes: [convention]
```

If `PATHMODE_API_KEY` is set, ALSO call `log_implementation_note` on the user's current intent (if any, otherwise the first intent in the workspace) so the conventions show in the Pathmode audit trail. Be honest about reach: that note rides only that one intent's future prompts — there is no workspace-level convention record yet. `CLAUDE.md` is what every agent session actually inherits, which is why the paste step above is the one that matters.

Do NOT write to a `.pathmode/` directory in the repo. The canonical conventions live in `CLAUDE.md` (visible to every agent session) and in the Pathmode workspace (visible to PMs). The repo is a consumer of intent, not where intent fossilizes.

</what-to-do>

<supporting-info>

## Why these questions

Each question maps to a real friction point in agent-assisted development:

- **Primary agent** → tells Claude which other agents will read the same conventions (different agents have different config file conventions)
- **Issue tracker** → tells `split-intent-to-issues` where to format output for
- **Test command** → tells `review-against-intent` how to check that outcomes are actually delivered
- **Build/typecheck** → same; the fastest feedback loop is usually typecheck
- **PR conventions** → tells `handoff-intent` whether decisions go in PR descriptions or somewhere else
- **Status mapping** → tells `handoff-intent` when to propose `update_intent_status` to `shipped` vs `verified`
- **Implementation note convention** → tells every skill where decisions persist

Without these answers, every skill has to re-ask the same questions every session. Capturing them once makes downstream skills feel native.

## Inferring from the repo

Before asking, look at the repo:

- `package.json` `scripts` field → likely test/build/typecheck commands
- `.github/workflows/` → likely CI commands the team trusts
- `CONTRIBUTING.md`, `CODEOWNERS`, PR templates → PR conventions
- `.linear/`, `.jira/`, `.github/ISSUE_TEMPLATE/` → likely issue tracker
- Existing `CLAUDE.md`, `.cursorrules`, `.windsurfrules` → likely primary agent

For each inference, propose it as the best-guess answer ("Looks like you use Linear — there's a `.linear/` directory. Is that right, or are tickets actually in [other place]?").

## Mode behavior

- **Local mode (no API key)** — Output goes to `CLAUDE.md` only. The user paste-edits it themselves. The skill does not write files.
- **Team mode (`PATHMODE_API_KEY` set)** — Same `CLAUDE.md` output, PLUS a `log_implementation_note` call so the conventions are visible in the Pathmode workspace (on that one intent; `CLAUDE.md` remains the surface every session inherits).

## What this skill does NOT do

- Does not write to `.pathmode/` or any repo subdirectory beyond `CLAUDE.md`
- Does not run npm install, set up CI, or modify the repo's tooling
- Does not connect to Linear/Jira/GitHub APIs — only captures the user's intent for which tracker they use

It is an interview, not an installer.

</supporting-info>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.