From gw
Validate proposal structure against agency requirements — word counts, required sections, bibliography, budget caps, and EU-specific checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gw:complianceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are validating a grant proposal against agency-specific requirements before final assembly.
You are validating a grant proposal against agency-specific requirements before final assembly.
--proposal-dir <path>: Proposal directory (required)Parse from the user's message.
uv run gw-agency sections <agency> <mechanism>
This returns the required sections, word limits, and formatting rules from agency.json.
uv run gw-compliance check <proposal_dir>
The checker validates:
.md file in sections/ checked against limits from agency.json. Words are counted excluding Markdown syntax.required: true in agency.json must exist.[N] or (Author, Year)) has a matching entry in sections/bibliography.md. Markdown image reference points to an existing file in sections/figures/.supporting/.Parse the checker output and classify each issue:
Critical violations (block assembly):
Warnings (allow proceeding with caution):
For each violation, provide a specific fix suggestion (e.g., "Section excellence.md is 2,347 words — limit is 2,000. Cut 347 words, focusing on the methodology sub-section which is the most verbose.").
Check word counts in detail:
uv run gw-compliance word-counts <proposal_dir>
Check budget specifically:
uv run gw-compliance budget-check <proposal_dir>
Save the full report to <proposal_dir>/review/compliance_report.md with:
If any critical violations exist:
/gw:compliance."If only warnings exist:
If all checks pass:
uv run gw-state update <proposal_dir> --phase compliance --status <complete|failed>
Report:
review/compliance_report.mduv run gw-state init.gw-compliance depends on agency.json entries — if gw-agency sections fails, list supported agencies via uv run gw-agency list and ask the PI to correct the agency/mechanism in config.yaml.sections/ directory empty or missing: Treat as a critical failure — there is nothing to validate. Instruct the PI to run /gw:proposal first.budget/ missing when running budget-check: Downgrade to a warning only if the agency does not require budget at this phase; otherwise mark critical and instruct the PI to run /gw:budget.gw-compliance tool not installed: Run uv sync from the plugin root, then retry. If still failing, surface the underlying stderr so the PI can diagnose.npx claudepluginhub stmailabs/gw --plugin gwProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.