blindspot-pass

在进行高风险的横切变更之前,检查代码历史记录与系统架构以发现隐藏的约束和盲点,帮助评估变更风险。

仓库最近推送
GitHub Stars
130
Forks
13
Issues / PRs
15

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "blindspot-pass":https://skillpi.com/zh/skills/deepskill-a1cdf6e0e9d8cc67a0f50137446fafc73073208c97533726f676445c93c0f183。安装前核对上游来源和版本:https://github.com/jellydn/my-ai-tools。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在进行高风险的横切变更之前,检查代码历史记录与系统架构以发现隐藏的约束和盲点,帮助评估变更风险。

0 下载

介绍来源: third_party · jellydn · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: "blindspot-pass"
description: "Inspect history and architecture for hidden constraints before risky cross-cutting changes."
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

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:

  • Identifies at least 2-3 gotchas you didn't know about
  • Generates questions that would change your approach
  • References concrete evidence (commits, code, comments)
  • Provides clear recommendation for how to proceed
  • Takes 5-15 minutes (not hours)

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 解决开发者在复杂变更前的核心痛点:识别未知约束
  • 提供完整方法论和工具链(git/rg命令)
  • 覆盖技术/架构/业务多维度检查
触发精准95/100

亮点

  • description 明确描述使用场景:高风险横切变更前
  • When to Use 章节细化4种具体场景
  • 边界清晰,不易与其他技能混淆
结构规范95/100

亮点

  • Phase/步骤清晰(5个步骤)
  • 包含端到端示例(Stripe集成案例)
  • frontmatter完整,单文件符合规范
执行可靠95/100

亮点

  • 工具来源明确(git/rg等标准工具)
  • 参数正确,覆盖主要异常场景
  • 提供具体命令可直接执行
证据可验 (前四项均值)95/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。