Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jeremylongshorev0.8.1MIT
The flight envelope for agentic coding. Convert PRs and local diffs into structured, agent-consumable specs with intent drift detection.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Intent Solutions is a Claude Partner Network Select Services Partner.
The flight envelope for agentic coding.
CodeRabbit reviews for humans. pr-to-spec converts for agents.
Turn any code change — a GitHub PR, a local branch, staged edits — into a structured, agent-consumable spec with intent drift detection. CLI and MCP server — use it from the terminal or as a plugin in Claude Code, Cursor, and Windsurf.
declare intent → make changes → pr-to-spec check → agent sees clean/drift/high-risk
pr-to-spec what you're building, what scope is allowed, and your risk ceilingpr-to-spec check --json produces a structured spec + drift signals# Analyze your current branch vs main
pr-to-spec scan --branch main --json
# Analyze staged changes only
pr-to-spec scan --staged --json
# Analyze last 3 commits
pr-to-spec scan --diff 3 --json
# 1. Declare what this change is supposed to do
pr-to-spec intent set \
--goal "Add rate limiting to API" \
--scope "src/middleware/**" \
--forbid "src/db/**" \
--max-risk medium \
--type feature
# 2. After making changes, check for drift
pr-to-spec check --json
# exit 0 = clean, exit 2 = high-risk, exit 3 = drift detected
# Show current intent
pr-to-spec intent show
# Analyze a GitHub PR
pr-to-spec --repo owner/repo --pr 42 --json | your-agent review
# Extract just the risk flags
pr-to-spec --repo owner/repo --pr 42 --json | jq '.spec.risk_flags'
# Feed to Claude for review
pr-to-spec --repo owner/repo --pr 42 --json \
| claude --print "Review this spec and decide: approve, request changes, or needs info"
pr-to-spec ships an MCP server for IDE integration. When installed as a Claude Code plugin, these tools are available automatically.
| Tool | Description |
|---|---|
analyze_pr | Analyze a GitHub PR and generate a structured spec |
scan_local | Scan local git changes (branch, staged, commits) |
check_drift | Check changes against declared intent for drift |
set_intent | Declare what a code change should accomplish |
show_intent | Show the current intent declaration |
analyze_assumptions | Surface implicit decisions with 2x2 matrix |
Install the skill with the official skills CLI:
npx skills add jeremylongshore/pr-to-prompt --skill pr-to-spec
To load both the skill and bundled MCP server from a checkout, run Claude Code
with --plugin-dir /path/to/pr-to-prompt. Or add the bundled server to your
project's .mcp.json and expose GITHUB_TOKEN in the server environment:
{
"mcpServers": {
"pr-spec-analyzer": {
"command": "node",
"args": ["/path/to/pr-to-prompt/dist/mcp-bundle/index.js"],
"env": {
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
}
}
All --json output is wrapped in the agent protocol envelope:
{
"version": 1,
"command": "check",
"status": "drift_detected",
"exit_code": 3,
"signals": [
{
"type": "forbidden_touch",
"description": "1 forbidden file(s) modified",
"severity": "high",
"details": ["src/db/schema.ts"]
}
],
"spec": { ... },
"intent": { ... }
}
| Code | Meaning |
|---|---|
0 | Clean — no issues |
1 | Error |
2 | High-risk changes detected |
3 | Drift from declared intent |
4 | Gate policy failed |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (jeremylongshore/pr-to-prompt) — no native marketplace selected
npx claudepluginhub p/jeremylongshore-pr-to-specPlugins from other owners that cover similar ground