claude-skills: Skill for Gemini CLI

.gemini/skills/cmd-code-to-prd/SKILL.md

cmd-code-to-prd is a skill for Gemini CLI from alirezarezvani/claude-skills. It costs 0 tokens per session (7 once invoked), scanned A, original, MIT.

A command that turns existing code into a product requirements document, or PRD.

In plain words
What is it for?
Creating planning and product documentation from a codebase.
Why use it?
It helps document what software already does when the original requirements are missing or outdated.

Skill for Gemini CLI

Written for Gemini CLI: installed under .gemini/.

This is alirezarezvani/claude-skills's own configuration. It tells Gemini CLI how to work on claude-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-skills configures →

About the project

claude-skills is a large collection of reusable skills, commands, plugins, and supporting resources for coding agents across engineering, business, research, compliance, and productivity work. It is used by people who want agents such as Claude Code, Codex, Gemini CLI, or Cursor to follow specialized workflows. The catalogue contains selected skills and settings from the collection.

alirezarezvani/claude-skills · 25,585 stars · on GitHub · alirezarezvani.medium.com

Reuse

Borrowing it

Nothing to install: this file belongs to alirezarezvani/claude-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/.gemini/skills/cmd-code-to-prd/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/alirezarezvani/claude-skills

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cmd-code-to-prd

README.md
[![agentmods](https://agentmods.dev/badge/skills/alirezarezvani/claude-skills/cmd-code-to-prd.svg)](https://agentmods.dev/skills/alirezarezvani/claude-skills/cmd-code-to-prd)
Your own site
<a href="https://agentmods.dev/skills/alirezarezvani/claude-skills/cmd-code-to-prd"><img src="https://agentmods.dev/badge/skills/alirezarezvani/claude-skills/cmd-code-to-prd.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00007
Opus 5 $0.00000 $0.00003
Sonnet 5 $0.00000 $0.00001
Haiku 4.5 $0.00000 $0.00001

Measured 3d ago against content hash 635ee394b633, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cmd-code-to-prd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.gemini/skills/cmd-code-to-prd/SKILL.md · 1 lines

What it actually says

../../../commands/code-to-prd.md

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 1 lines · 0 tokens per session scan A 635ee394b633

Subscribe to this mod's changes

cmd-code-to-prd is a skill published in the GitHub repository alirezarezvani/claude-skills (25,585 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 7 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

handoffplan

Run /handoff to capture session data, then write a phased implementation plan that references it. Creates beads for tracking.

REMvisual/claude-handoff · 28 tokens

planner

Interactive planning and execution for complex tasks. Use when breaking down multi-step projects (planning) or executing approved plans through delegation (execution). Planning creates milestones with specifications; execution delegates to specialized agents. Use when you say "plan this feature", "create…

rjmurillo/ai-agents · 60 tokens

execution-plans

Manage execution plans as versioned artifacts with progress tracking and decision logs. Use when you say "create execution plan", "update plan progress", "log decision", "complete plan", or "abandon plan". Do NOT use to break work into milestones or delegate tasks (use planner).

rjmurillo/ai-agents · 61 tokens

work-operating-model

Run a 5-layer interview to elicit how a team actually works (rhythms, decisions, dependencies, institutional knowledge, friction) and emit a structured operating model. Use when you say "elicit operating model", "interview team operating model", "how does this team actually work", or "validate operating model". Do NOT…

rjmurillo/ai-agents · 102 tokens

ai-agents-docs-of-record

Runbook for this repo's documents of record. Session logs, ADRs, retrospectives, Serena memories, per-issue handoffs, plus the templates, validators, naming rules, and house prose style that bind them. Use when you say write the session log, create an ADR, fill the retro, save this to memory, which document of record.…

rjmurillo/ai-agents · 113 tokens

collaborating

Hackathon-native multiplayer collaboration mode -- brain-dump together, claim tasks across machines, flag decisions async. Drives the subcommands of /forge:collaborate.

LucasDuys/forge · 37 tokens