Slash Command
/requirements
Manage project requirements registry via Google Spreadsheet.
From requirementsInstall
1
Run in your terminal$
npx claudepluginhub dapi/claude-code-marketplace --plugin requirementsCommand Content
Requirements Manager
Manage project requirements registry via Google Spreadsheet.
Configuration
- Template: https://docs.google.com/spreadsheets/d/18PAEXIvcRTyyP1THm60NiqmfTQEnuljc8obcpGOfx8c
- Google Email: danilpismenny@gmail.com
Getting Spreadsheet ID
- Find the
# Requirements Managementsection withspreadsheet_id:field in project's CLAUDE.md - If section is missing — tell user to run
/requirements initfor initialization
Command: $ARGUMENTS
Execute action based on argument:
If init
Step 1: Determine project name
- Extract from
git remote get-url origin(repo name) - Or use current directory name as fallback
Step 2: Automatically create spreadsheet copy
Try to create a copy programmatically using Google Workspace MCP:
-
Create new spreadsheet via
create_spreadsheet:- Title: "{ProjectName} Requirements"
- Sheets: ["Requirements", "Changelog"]
-
Read template data via
read_sheet_values:- Template ID:
18PAEXIvcRTyyP1THm60NiqmfTQEnuljc8obcpGOfx8c - Read "Requirements" sheet (A1:Z1000)
- Read "Changelog" sheet (A1:Z100)
- Template ID:
-
Write data to new spreadsheet via
modify_sheet_values:- Copy all data preserving structure
- Apply header formatting via
format_sheet_range(bold, background color)
-
Share spreadsheet via
share_drive_file:- Share with user's email as owner (already owner by default)
Step 3: On success
- Save to project's CLAUDE.md:
# Requirements Management - **spreadsheet_id:** <NEW_ID> - **spreadsheet_url:** https://docs.google.com/spreadsheets/d/<NEW_ID> - Show success message with link to new spreadsheet
Step 4: On failure (fallback to manual)
If automatic creation fails, instruct the user:
- Open template: https://docs.google.com/spreadsheets/d/18PAEXIvcRTyyP1THm60NiqmfTQEnuljc8obcpGOfx8c
- File → Make a copy
- Rename the copy (e.g., "ProjectName Requirements")
- Provide the copied spreadsheet ID (between
/d/and/editin URL) - Then save to CLAUDE.md as above
If status or empty
- Get Spreadsheet ID from project's CLAUDE.md
- Read spreadsheet "Requirements" sheet via MCP
- Display summary:
- Total requirements
- By Development status (Complete, In Progress, Planned)
- By Compliance (Full, Partial, None)
- Show requirements In Progress if any
If sync
- Get Spreadsheet ID from project's CLAUDE.md
- Read spreadsheet
- Get GitHub issues list:
gh issue list --state all --json number,title,state - Compare statuses and suggest changes
- Ask for confirmation before updating spreadsheet
If add <title>
- Get Spreadsheet ID from project's CLAUDE.md
- Create GitHub issue:
gh issue create --title "<title>" - Add row to spreadsheet with HYPERLINK to issue
- Set: Type=FR, Discovery=Proposed
If update <ID> <column> <value>
- Get Spreadsheet ID from project's CLAUDE.md
- Find row by ID in spreadsheet
- Update specified column
- Comment in linked GitHub issue
Rules
- Always ask for confirmation before making changes to spreadsheet
- GitHub repo: determine from
git remote get-url origin - If Spreadsheet ID not found in CLAUDE.md — redirect to
/requirements init
Other plugins with /requirements
Stats
Parent Repo Stars7
Parent Repo Forks0
Last CommitFeb 9, 2026