ワンクリックで
blindspot-pass
Find unknown unknowns before starting implementation — searches git history, patterns, and architecture for hidden gotchas
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Find unknown unknowns before starting implementation — searches git history, patterns, and architecture for hidden gotchas
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Verify understanding after implementation with targeted quizzes
Clarify requirements through targeted questions — uncovers unknown unknowns in specs
Remove AI-generated code patterns that don't match codebase style
Review code for quality, security, and best practices — read-only analysis
Create clear documentation for code and APIs
Audit code for security vulnerabilities — read-only analysis
| name | blindspot-pass |
| description | Find unknown unknowns before starting implementation — searches git history, patterns, and architecture for hidden gotchas |
| license | MIT |
| compatibility | cline, claude, opencode, amp, codex, gemini, cursor, pi |
| hint | Use before starting complex or unfamiliar work to identify hidden issues |
| user-invocable | true |
Use this skill before starting implementation when:
A blind spot pass helps identify unknown unknowns that could derail implementation or lead to poor architectural decisions.
Clearly state what you're about to work on:
Look in multiple places for relevant history:
# Recent changes to related files
git log --oneline --all -20 -- path/to/module/
# Search commit messages for keywords
git log --all --grep="auth\|oauth\|provider" --oneline
# Find related discussions in code comments
rg -i "TODO|FIXME|HACK|XXX" path/to/module/
# Search for error handling patterns
rg "catch|throw|error" path/to/module/ -A 3
Document findings in categories:
Technical Gotchas:
Architectural Gotchas:
Business Gotchas:
Generate questions that would change the approach:
Format as a structured report:
## Blind Spot Analysis: [Task Name]
### Context Sources Checked
- [x] Git history (last 3 months, 45 commits in auth/)
- [x] Code comments and TODOs (found 3 relevant)
- [x] Error handling patterns (uses Result type)
- [x] Test coverage (integration tests in /tests/auth/)
### Key Findings
**Architectural Patterns**:
- All auth providers extend BaseOAuthProvider
- Must implement 3 lifecycle hooks: init, authenticate, refresh
- Config validation happens at provider registration
**Known Gotchas**:
- GitHub OAuth requires app installation per org (not per user)
- Refresh tokens expire after 6 months of inactivity
- Rate limiting uses Redis; need to handle connection failures
**Testing Requirements**:
- Mock responses in tests/fixtures/oauth/
- Integration tests use test credentials from .env.test
- Must test token refresh flow explicitly
### Questions Before Proceeding
1. Should GitHub provider support org-level installation?
2. How should we handle rate limit failures? (retry? user error?)
3. Is there a preferred library for GitHub OAuth, or implement from scratch?
### Recommended Approach
[Brief recommendation based on findings]
User: "I need to add Stripe payment integration to our checkout flow"
Agent: "Let me do a blind spot pass first to identify unknowns."
[Agent searches codebase, git history, finds existing payment integrations]
Agent: "Blind Spot Analysis: Stripe Integration
Context Sources Checked:
- Git history: Found previous PayPal integration (6 months ago)
- Existing code: Braintree integration in /payments/providers/
- Tests: Payment integration tests use VCR for API mocking
Key Findings:
Architectural Patterns:
- All payment providers implement PaymentProvider interface
- Webhook handling is centralized in /webhooks/payment-events
- PCI compliance: Never store card numbers, only Stripe tokens
Known Gotchas:
- Must implement idempotency keys for all charge operations
- Webhook signature verification required (security requirement)
- Stripe test mode uses different API keys from .env.stripe.test
- Currency handling: Store amounts as integers (cents) not floats
Testing Requirements:
- Use Stripe test fixtures (don't call real API in tests)
- Must test webhook verification with valid and invalid signatures
- Cover 3 main flows: successful charge, declined card, network error
Questions Before Proceeding:
1. Should we support Stripe Connect (for marketplaces) or just direct charges?
2. Do we need recurring billing support, or one-time payments only?
3. Should failed charges retry automatically, or require user action?
4. What currency/currencies do we need to support?
Recommended Approach:
Based on the PayPal integration pattern, implement as a plugin in
/payments/providers/stripe/ with webhook handler in /webhooks/stripe/.
Follow idempotency pattern from Braintree integration.
"
A good blind spot pass: