agentleFS
rgaddargadda/frontend-eng-team/skills/pm-clarify/SKILL.md

pm-clarify

Skill8 starsChanged 4 months agoMITView on GitHub

Load this when a developer or tester has a clarifying question about the current feature in flight. Reads branch-prd.md and prior clarifications in .agents/memory/clarifications.jsonl, then either answers grounded in the PRD or drafts a clean question for the human PM. Triggers — "clarify", "what does the PRD say", "is this in scope", "PM question", "acceptance criteria for", "/pm-clarify".

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. konglong87/superPM★ 84same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If a prior record's summary clearly answers this question, cite it in the response and skip to step 4 (write a new record referencing the …

    line 34
  2. Very specific:

    Read the relevant sections of branch-prd.md:

    line 40
  3. Distinctive:

    Do NOT invent an answer. Do NOT ask the Architect to decide product intent.

    line 61
  4. Distinctive:

    Always append a record, whether answered or escalated.

    line 67
  5. Very specific:

    If append.sh fails, print a one-line warning and continue.

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PM Clarify — playbook

Apply this when a dev or tester asks a scope / acceptance-criteria / intent question during implementation or testing. The goal is to answer without pulling the human PM in unless the PRD genuinely does not cover it.

Preconditions

  • branch-prd.md MUST exist at project root. If it does not, stop and tell the user: "No PRD on this branch. Either the task is a bug/refactor (in which case ask the Architect or Implementer directly), or /pm has not been run yet."
  • The current branch's branch-prd.md YAML header branch: field must match git rev-parse --abbrev-ref HEAD. If it does not, the PRD is stale — flag it and offer to re-run /pm before answering.

Steps

1. Dedupe against prior clarifications

Grep the memory JSONL for this branch first — the same or a similar question may have been answered already, and it is cheaper to reuse than re-answer.

BR="$(git rev-parse --abbrev-ref HEAD)"
grep "\"branch\":\"$BR\"" .agents/memory/clarifications.jsonl 2>/dev/null | tail -10

If a prior record's summary clearly answers this question, cite it in the response and skip to step 4 (write a new record referencing the prior one, so the dedupe chain stays intact).

2. Search the PRD

Read the relevant sections of branch-prd.md:

  • Acceptance criteria — most questions live here.
  • Scope — in and Scope — out — for "is X in scope?" questions.
  • Constraints for the Architect — for questions about non-negotiables.
  • Success metrics — for "how do we know this works?" questions.

Grep first with the question's key nouns to locate the right section rather than reading the whole PRD.

3. Answer or escalate

If the PRD answers the question:

  • Quote the specific line(s) from the PRD.
  • Give the direct answer in one sentence.
  • Note the section the quote came from ("Acceptance criteria #3", "Scope — out bullet 2").

If the PRD does not answer the question:

  • Draft a clean, PM-ready question. State the ambiguity precisely: what the PRD says, what it does not say, and what decision hinges on the answer.
  • Do NOT invent an answer. Do NOT ask the Architect to decide product intent.
  • Tag the response ESCALATED so the dev/tester knows to actually take the question to the human PM.

4. Write the memory record

Always append a record, whether answered or escalated. Future questions on the same branch dedupe against this.

.agents/memory/append.sh clarifications.jsonl pm_clarify 1 \
  <answered|escalated> \
  "<one-paragraph summary: the question, and either the PRD-grounded answer or the escalation reason>" \
  --task "<the original PRD task string if you have it, else the question>" \
  --tags "type:feature" \
  --decisions "Source: <PRD section> | Verdict: <answered|escalated>"

If append.sh fails, print a one-line warning and continue.

Response templates

Answered from PRD

## Answered from PRD

**Question:** <the dev's question>

**Answer:** <one sentence>

**PRD source:** `branch-prd.md` — <section name>
> <exact quoted line(s)>

**Confidence:** high (grounded in acceptance criterion / scope statement)

Escalated to human PM

## Escalated — needs the human PM

**Question:** <the dev's question>

**Why escalating:** The PRD covers <what it does cover> but does not specify
<the exact missing bit>. This is a product decision, not a technical one.

**Draft to send to the human PM (copy-paste ready):**
> On `<branch>`, working the <feature name> feature, the PRD is ambiguous on
> <the specific ambiguity>. Acceptance criterion #<n> says <quote>, but does
> not say what should happen when <the edge case>. Which of the following do
> you want:
> - Option A: <one line>
> - Option B: <one line>
> - Other: <blank>

**Once you have the answer, either:**
- Re-run `/pm` so the PRD reflects the new decision, OR
- Re-run `/pm-clarify` with the answer so it is captured in memory for the rest of the team.

Cost note

This skill runs in the main context — no subagent fork. It is the cheapest possible implementation. Do not spawn agents from within this skill. If the question requires deep codebase exploration (rare for a PRD clarification), suggest the repo-explorer subagent explicitly and stop.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.