From portfolio
Generate a grounded recommendation letter from a GitHub repo or a blog/article URL (runs python -m reference_check).
How this command is triggered — by the user, by Claude, or both
Slash command
/portfolio:reference-check [github <repo-url> <author>] | [web <article-url> <author>] [--out <file>]commands/The summary Claude sees in its command listing — used to decide when to auto-load this command
The user wants to generate a **grounded** recommendation letter — every paragraph
traced to real evidence — by running this repo's CLI (`python -m reference_check`).
You are the interactive front door; the CLI does the real work (extract → narrate →
ground → build letter → render). Do NOT write recommendation letter content yourself
and do NOT edit any code.
Arguments (may be empty): `$ARGUMENTS`
## Steps
1. **Gather the inputs** from `$ARGUMENTS`; ask the user for anything missing:
- **source type** — one of `github` or `web`. If unclear, ask:
- `github` → a GitHub repository, e...The user wants to generate a grounded recommendation letter — every paragraph
traced to real evidence — by running this repo's CLI (python -m reference_check).
You are the interactive front door; the CLI does the real work (extract → narrate →
ground → build letter → render). Do NOT write recommendation letter content yourself
and do NOT edit any code.
Arguments (may be empty): $ARGUMENTS
Gather the inputs from $ARGUMENTS; ask the user for anything missing:
github or web. If unclear, ask:
github → a GitHub repository, evidence is the author's merged PRs (via gh).web → a blog/article URL, evidence is the fetched article.https://github.com/<owner>/<repo> for github, or the
article URL for web.Run the CLI with exactly those values (pass each as a separate argument —
never assemble a shell string from the user's input, never use command
substitution or quoted interpolation of $ARGUMENTS):
python -m reference_check --source-type <type> --source <url> --author <author>
Add --out <file> only if the user asked to save to a file. Use python
(not python3) on this host.
On a non-zero exit, show the CLI's stderr message and help the user fix the
input — e.g. an invalid/unsupported --source URL, or an unknown
--source-type (the CLI validates and reports these).
Do NOT retry with a guessed URL, author, or source type.
On success, show the user:
--out, confirm the
file path), andgrounded: N rejected: N needs-confirmation: N) so they
can see how many claims were dropped for lacking real evidence.python -m reference_check. Never bypass
it, never hand-write recommendation letter content, and never modify
reference_check/ or portfolio/ code to "make it work".$ARGUMENTS into a single command string.npx claudepluginhub ascendyproject/portfolio --plugin portfolio