agentleFS
jellydnjellydn/my-ai-tools/skills/blindspot-pass/SKILL.md

blindspot-pass

Skill127 starsChanged 27 days agoMITView on GitHub

Inspect history and architecture for hidden constraints before risky cross-cutting changes.

  • Reads credentials

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill before starting implementation when:

    line 14
  2. Distinctive:

    Look in multiple places for relevant history:

    line 35
  3. Distinctive:

    Document findings in categories:

    line 53
  4. Distinctive:

    Find the gotchas: Search for error handling, TODOs, FIXMEs

    line 174
  5. Distinctive:

    After Blind Spot Pass: Run interview skill if major unknowns remain

    line 181
  6. Distinctive:

    During Implementation: Use implementation-logger to track deviations

    line 182
  7. Distinctive:

    After Implementation: Use quiz-me to verify understanding

    line 183
  8. Distinctive:

    Too narrow: Only checking files you'll edit (check dependencies too)

    line 187
  9. Distinctive:

    Too shallow: Only reading current code (check git history for context)

    line 188

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Blind Spot Pass

When to Use

Use this skill before starting implementation when:

  • Working on an unfamiliar part of the codebase
  • Integrating with systems you don't fully understand
  • The task has high stakes or complexity
  • You sense there might be hidden gotchas

What It Does

A blind spot pass helps identify unknown unknowns that could derail implementation or lead to poor architectural decisions.

How to Execute

Step 1: Define Scope

Clearly state what you're about to work on:

  • Feature or change description
  • Affected modules/systems
  • Current understanding level

Step 2: Search for Context

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

Step 3: Identify Gotchas

Document findings in categories:

Technical Gotchas:

  • Edge cases in existing code
  • Performance considerations
  • Error handling patterns
  • Testing requirements

Architectural Gotchas:

  • Existing abstractions to follow
  • Integration points
  • Data flow patterns
  • State management approaches

Business Gotchas:

  • Implicit requirements from past discussions
  • Feature flags or phased rollouts
  • Backward compatibility needs
  • Security or compliance requirements

Step 4: Surface Questions

Generate questions that would change the approach:

  • "I see error handling uses X pattern; should I follow it?"
  • "There's a feature flag system; does this need one?"
  • "Previous auth work had Y consideration; does that apply here?"

Step 5: Present Findings

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]

Example Usage

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.
"

Best Practices

  1. Search broadly first: Git history, code, comments, tests, documentation
  2. Look for patterns: What did previous similar work do?
  3. Find the gotchas: Search for error handling, TODOs, FIXMEs
  4. Generate good questions: Focus on architecture-changing decisions
  5. Provide recommendations: Synthesize findings into an approach

Integration with Other Skills

  • Before: Define task scope
  • After Blind Spot Pass: Run interview skill if major unknowns remain
  • During Implementation: Use implementation-logger to track deviations
  • After Implementation: Use quiz-me to verify understanding

Common Pitfalls

  • Too narrow: Only checking files you'll edit (check dependencies too)
  • Too shallow: Only reading current code (check git history for context)
  • No questions: Findings without questions don't guide next steps
  • No synthesis: Raw data dump instead of actionable recommendations

Success Criteria

A good blind spot pass:

  • Reports only evidence-backed gotchas; zero gotchas is valid when inspection finds none
  • Generates questions only when their answers could change the approach
  • Records each finding's outcome: changed approach, resolved, or not reproduced
  • References concrete evidence (commits, code, comments)
  • Provides a clear recommendation for how to proceed
  • Stops when the relevant boundaries and implementation-changing unknowns are covered, rather than optimizing for a fixed time or finding count

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.