pstack /reframe and /sharpen Requirement Framing and Task Deepening

Document type
Field manual
Updated
Reading time
6 min

Field manual for Lauren Tan's (@poteto) new /reframe skill and companion /sharpen workflow in pstack: reading raw files, ranking 8–12 domain terms, borrowing from neighboring fields, verifying links, and splitting technical prototypes from product decisions.

Source
Document details
License
MIT

Addresses pre-coding ambiguity by using /reframe to supply 8–12 expert domain terms and missing constraints, then /sharpen to define raw inputs, prototype-settled choices, and external acceptance proof.

Ranked domain terms
8–12Ordered by impact on what gets built
Neighboring fields
2–3What carries over and where analogies break
Manual-only skills
2/reframe and /sharpen disable implicit triggers
Core steps
4Structured four-step rewrite in each skill

01Scope and Deliverables

System Overview

/reframe is a pre-implementation requirement-framing skill added by Lauren Tan (@poteto, formerly Meta, Netflix, and Cursor, React Core Team member, now with Grok Bot) to her open-source pstack skills collection. pstack focuses on writing less code at higher engineering quality; this update moves that rigor upstream to solve the bottleneck where an operator knows roughly what to build but lacks the exact domain vocabulary to express it.

In backnotprop/pstack (the standalone cross-agent mirror of cursor/plugins/pstack, MIT License), both /reframe and /sharpen are standalone skills (calling no other pstack skills). Each declares disable-model-invocation: true in SKILL.md and allow_implicit_invocation: false in agents/openai.yaml, keeping invocation strictly manual.

02Cross-Agent Setup and Manual Invocation

Installation and Prerequisites

  • Not completed:

    Grok Bot plugin install: Install pstack directly from x.ai/bot/plugin/9717366.

  • Not completed:

    Cross-agent CLI install: Install the standalone mirror backnotprop/pstack into Claude Code, Codex, Pi, Cursor, or OpenCode using npx skills.

  • Not completed:

    Prepare first-hand inputs: Have your draft notes, existing code, or source files ready before calling /reframe so the model reads raw material directly.

Install backnotprop/pstack via the skills CLI and select reframe and sharpen:

bash
# Install pstack and select reframe, sharpen, and your target agents from the prompt
npx skills add backnotprop/pstack

03Four-Step Structure and Division of Labor

/reframe and /sharpen Core Workflow

The two skills cover consecutive pre-coding stages: /reframe establishes domain vocabulary and missing boundaries, while /sharpen deepens task execution and external verification without expanding scope.

Problem framing (Pre-step)

/reframe

Read first-hand material and disambiguate intent

Requires reading the operator's own files, code, and description directly instead of a secondhand summary. When a description could name multiple problems, lists 2 or 3 candidate problems with each naming term and distinguishing sign, then picks the most likely one and explains why.

Terms and analogies (Steps 1–2)

/reframe [1-2]

Rank 8–12 terms and borrow from 2–3 neighboring fields

Ranks 8–12 terms by how much each changes what gets built, supplying a plain one-sentence meaning, the matching part of the description, a real project/paper/system link, and what it lets the operator ask an agent for; then picks 2–3 neighboring fields solving the same shape of problem, stating what carries over, where the analogy breaks, and which terms return.

Constraints and rewrite (Steps 3–4)

/reframe [3-4]

Surface omissions, verify citations, and rewrite

Names constraints the operator omitted but should care about, then rewrites the description using the new vocabulary. Explicitly requires opening every link to confirm usage, cutting any unconfirmed citation, and avoiding padding.

Task deepening (Steps 1–4)

/sharpen [1-4]

Surface expert steps, raw inputs, methods, and external proof

Answers four questions before rewriting: what a top practitioner would do that was not asked for, the rawest first-hand material to start from, specific methods and tools, and what external evidence beyond the agent or operator proves the result is right.

Decision split (Rewrite contract)

/sharpen

Separate experiment-settled choices from product preferences

Instructs the agent to prototype any technical choice an experiment can settle and recommend based on observed results, while leaving product or preference choices that no experiment can settle to the operator.

Division of labor and invocation order between the two skills:

Dimension/reframe/sharpen
Bottleneck addressedKnowing roughly what to build while lacking precise domain termsKnowing the direction while needing deeper methods and objective proof
Core mechanismDisambiguate problem, rank 8–12 terms, borrow from 2–3 neighboring fields, verify every link, add missing constraints, rewriteIdentify expert steps, raw inputs, methods/tools, and external acceptance proof; split prototype-settled vs human choices
Invocation policydisable-model-invocation: true (manual)disable-model-invocation: true (manual)
Recommended orderStep 1: run first while requirements are still vague intuitionStep 2: run next after concepts and boundaries are clear

04Rules for High-Signal Rewrites

Operating Principles

Key operating rules distilled from skills/reframe/SKILL.md, skills/sharpen/SKILL.md, and the backnotprop/pstack mirror notes:

Supply raw files and code; avoid secondhand summaries

The opening instruction of /reframe requires starting from the operator's own files, code, and description. Over-compressed summaries hide discriminating signals and prevent the pre-step from separating 2 or 3 candidate problem definitions.

skills/reframe/SKILL.md

Open every citation link and delete unverified references

/reframe requires opening each linked project, paper, or system to verify that the source uses the term in the claimed sense and cutting any citation that cannot be confirmed. In offline environments without web fetch, manually audit top-ranked terms.

skills/reframe/SKILL.md

Chain /reframe into /sharpen for full pre-coding rigor

Both skills are standalone and depend on no other pstack skills. Run /reframe first to align vague intent with established domain terms and missing constraints, then feed the rewritten spec into /sharpen to establish prototypes and external acceptance criteria.

skills/reframe/SKILL.md / skills/sharpen/SKILL.md

Codex enforces manual-only triggers via agents/openai.yaml

Because Codex ignores disable-model-invocation: true in SKILL.md, the backnotprop/pstack mirror generates agents/openai.yaml with allow_implicit_invocation: false so the skill stays out of Codex's startup prompt while remaining manually callable.

backnotprop/pstack README.md

05Two-Stage Requirement Rewrite Flow

Worked Example

In a pstack-enabled coding agent, invoke /reframe and /sharpen sequentially on a vague requirement:

Run /reframe to establish terms, then /sharpen to deepen execution and proof
# 1. Early vague idea: point to raw source code and draft notes, then invoke /reframe manually
$ /reframe src/query/
ok: lists 2–3 candidate problem framings -> ranks 8–12 domain terms with verified links -> borrows from 2–3 neighboring fields -> adds missing constraints and rewrites the spec

# 2. After confirming concepts and boundaries: feed the rewritten spec into /sharpen
$ /sharpen
ok: adds expert steps, raw first-hand inputs, methods/tools, and external verification; splits prototype-settled technical choices from operator product decisions

06Model Self-Check Boundaries and Missing Benchmarks

Limitations and Notes

07Further Reading

Next Steps and References

  1. Review the full pstack suite: Read our existing pstack Field Manual covering poteto-mode, the principle-* engineering rules, and companion workflow skills.

  2. Trial /reframe and /sharpen standalone: Neither skill depends on other pstack modules; install both and run /reframe followed by /sharpen on your next ambiguous engineering task.

  3. Inspect the upstream skill contracts: Read skills/reframe/SKILL.md and skills/sharpen/SKILL.md in backnotprop/pstack to adapt citation checks or external acceptance criteria to your domain.

References