verify-rfc
Verify an RFC or design doc against the actual implementation — find drift, missing pieces, and undocumented changes
What this skill does
# RFC Verification You are verifying a design document (RFC, spec, design doc) against the actual implementation. Identify completeness, gaps, and discrepancies. ## Input **RFC:** `$ARGUMENTS` If the input is empty or literal "$ARGUMENTS", show brief usage with 2-3 examples, then stop. Otherwise continue. --- ## Core Principles - **Thorough but efficient**: Don't over-analyze trivial items - **Quote evidence**: Show specific code when claiming implementation exists - **Be skeptical**: Just finding related code doesn't mean the requirement is met - **Honesty over completeness**: Better to say "couldn't verify" than claim incorrectly --- ## Phase 1: Fetch the Design Document **Goal**: Get the full RFC content Input: $ARGUMENTS **Actions**: 1. Get the document: - If given a URL: `read_document "[URL]"` - If given a topic: `search "[topic] RFC OR design doc"` then `read_document` on the best match 2. Extract verifiable requirements: - Functional requirements - Technical specifications - Integration points - Non-functional requirements (performance, security) 3. Create a checklist of requirements to verify --- ## Phase 2: Search the Codebase **Goal**: Find implementations for each requirement **Actions**: 1. For each major requirement area, search the local codebase: - Use `Glob` to find relevant files by name patterns - Use `Grep` to find specific implementations - Use `Read` to examine implementation details 2. Also search Glean for related internal code: ``` code_search "[requirement] implementation" ``` 3. Document what you find for each requirement --- ## Phase 3: Vet Each Finding (CRITICAL) **Goal**: Rigorously verify claims - BE SKEPTICAL For each requirement × implementation pair, evaluate: **Match Quality Test** - Does the code actually implement this requirement? - ✅ IMPLEMENTED: Clear, direct implementation with evidence - ⚠️ PARTIAL: Some aspects present, others missing - ❓ UNCLEAR: Code exists but doesn't clearly fulfill requirement - ❌ NOT FOUND: No evidence of implementation **Evidence Strength Test** - How confident are you in this assessment? - ✅ HIGH: Can point to specific code that clearly implements this - ⚠️ MEDIUM: Code appears related but not definitively implementing - ❌ LOW: Inferring based on file names or tangential code **Specification Fidelity Test** - Does implementation match what the spec says? - ✅ MATCHES: Implementation follows spec - ⚠️ DIFFERS: Implementation exists but deviates from spec - ❌ CONTRADICTS: Implementation does opposite of spec **Common False Positives - BE CAREFUL**: - Code that USES an API doesn't mean the API is IMPLEMENTED - Test code doesn't count as implementation - Commented-out code doesn't count - TODO comments don't count - Dead code or deprecated code doesn't count **For each "Implemented" claim**: - Require file:line reference - Verify the code actually does what the spec requires - Note any deviations --- ## Phase 4: Generate Verification Report **Goal**: Present honest, evidence-based verification results **Actions**: Present the verification report: ```markdown # RFC Verification Report ## Document - **Title**: [RFC title] - **URL**: [link] - **Last Updated**: [date if available] ## Verification Confidence | Confidence Level | Requirements | |------------------|--------------| | High (clear evidence) | [X] | | Medium (likely but not certain) | [Y] | | Low (couldn't verify definitively) | [Z] | ## Summary | Status | Count | % | |--------|-------|---| | Implemented | X | X% | | Partially Implemented | Y | Y% | | Not Found | Z | Z% | | Differs from Spec | W | W% | **Overall**: [X of Y requirements verified with high confidence] ## Detailed Findings ### Implemented (High Confidence) | Requirement | Evidence | Confidence | |-------------|----------|------------| | [Requirement] | [file:line] - [what it does] | High | ### Partially Implemented | Requirement | Present | Missing | Evidence | |-------------|---------|---------|----------| | [Requirement] | [what exists] | [what's missing] | [file:line] | ### Not Found / Could Not Verify | Requirement | What I Searched | Confidence | |-------------|-----------------|------------| | [Requirement] | [where we looked] | Low - may exist but couldn't locate | ### Differs from Spec | Requirement | Spec Says | Implementation Does | Evidence | |-------------|-----------|---------------------|----------| | [Requirement] | [X] | [Y] | [file:line] | ## Limitations & Caveats **What I couldn't verify:** - [Requirement] - Would need [access/expertise] to verify - [Requirement] - Code exists but unclear if it fulfills requirement **Potential false negatives:** - Implementation may exist under different name - May be in private/restricted repo ## Recommendations 1. [Priority action to close gap] 2. [Verification that needs human review] ## Notes - [Observations about spec being outdated] - [Ambiguities in the original spec] ``` --- ## If Verification Is Inconclusive Be honest about limitations: ```markdown # RFC Verification Report ## Verification Incomplete I was able to verify [X] of [Y] requirements with high confidence. **Well-verified areas:** - [List of requirements with clear evidence] **Could not verify:** - [List with reasons] **Why verification was limited:** - [Reasons: access, complexity, ambiguity in spec] **Recommended next steps:** 1. Have [team/person] review this report 2. Manually verify [specific requirements] 3. Update spec if requirements have changed ``` --- ## Troubleshooting ### RFC Not Found If the document can't be found: - Ask for the exact URL or document title - Search for alternative names - Check if user has access to the document ### Implementation Not Found If code can't be found: - The feature may not be implemented yet - note this clearly - Check if the RFC was superseded or abandoned - Search for related terms ### Ambiguous Requirements If the RFC has unclear requirements: - Note which requirements are ambiguous - Document assumptions made during verification - Suggest RFC author clarify the spec
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.