context-hunter

GitHub

在编码前分析代码库模式、约定和隐性规则,确保变更与现有风格一致。通过查找类似功能、数据流和工具函数,识别命名及测试惯例,验证假设并规避冲突,实现无缝集成。

bundled/skills/context-hunter/SKILL.md foryourhealth111-pixel/Vibe-Skills

Trigger Scenarios

实现新功能 修复Bug 重构代码

Install

npx skills add foryourhealth111-pixel/Vibe-Skills --skill context-hunter -g -y
More Options

Non-standard path

npx skills add https://github.com/foryourhealth111-pixel/Vibe-Skills/tree/main/bundled/skills/context-hunter -g -y

Use without installing

npx skills use foryourhealth111-pixel/Vibe-Skills@context-hunter

指定 Agent (Claude Code)

npx skills add foryourhealth111-pixel/Vibe-Skills --skill context-hunter -a claude-code -g -y

安装 repo 全部 skill

npx skills add foryourhealth111-pixel/Vibe-Skills --all -g -y

预览 repo 内 skill

npx skills add foryourhealth111-pixel/Vibe-Skills --list

SKILL.md

Frontmatter
{
    "name": "context-hunter",
    "description": "Discover codebase patterns, conventions, and unwritten rules before making changes. Use when implementing features, fixing bugs, or refactoring code."
}

Context Hunter

Before writing code, investigate how similar problems are already solved in this codebase.

Before Implementation

Discover Existing Patterns

  1. Find analogous features: Search for code that solves similar problems. Study it before proposing your approach.
  2. Trace data flow: How does similar data move through the system? Note caching, validation, and error handling patterns.
  3. Identify utilities: Search for existing helpers before creating new ones.

Detect Unwritten Conventions

Look for implicit rules encoded in the codebase:

  • Schema patterns: deleted_at columns indicate soft-deletion. Audit columns indicate tracking requirements.
  • Naming patterns: Note consistency in user_id vs userId vs userID.
  • Test patterns: What's tested thoroughly reveals team priorities.

Verify Assumptions

  • Run the test suite to understand current state
  • Check linter and formatter configs
  • Read recent commits in affected areas
  • Examine database schemas for constraints

During Implementation

Match Existing Code

Your changes should be indistinguishable from existing code:

  • Use the same patterns, abstractions, and utilities
  • Follow the same error handling approach
  • Respect module boundaries
  • Match naming conventions exactly

Surface Concerns

When you discover conflicts between requirements and existing patterns:

  • Ask clarifying questions before proceeding
  • Flag risks you've identified
  • Offer alternatives that align with codebase conventions

Checklist

Before proposing changes, confirm:

  • Studied analogous features in the codebase
  • Checked for reusable utilities
  • Reviewed test patterns for similar functionality
  • Noted naming and schema conventions
  • Verified approach matches existing patterns

Version History

  • f627ab5 Current 2026-07-25 04:40

Same Skill Collection

bundled/skills/.system/skill-creator/SKILL.md
bundled/skills/.system/skill-installer/SKILL.md
bundled/skills/aeon/SKILL.md
bundled/skills/algorithmic-art/SKILL.md
bundled/skills/architecture-patterns/SKILL.md
bundled/skills/astropy/SKILL.md
bundled/skills/autonomous-builder/SKILL.md
bundled/skills/brainstorming/SKILL.md
bundled/skills/cancel-ralph/SKILL.md
bundled/skills/chembl-database/SKILL.md
bundled/skills/citation-management/SKILL.md
bundled/skills/claude-skills/SKILL.md
bundled/skills/clinical-reports/SKILL.md
bundled/skills/clinicaltrials-database/SKILL.md
bundled/skills/clinpgx-database/SKILL.md
bundled/skills/code-reviewer/SKILL.md
bundled/skills/coding-tutor/SKILL.md
bundled/skills/commit-with-reflection/SKILL.md
bundled/skills/comprehensive-research-agent/SKILL.md
bundled/skills/content-research-writer/SKILL.md
bundled/skills/context-fundamentals/SKILL.md
bundled/skills/create-plan/SKILL.md
bundled/skills/creating-data-visualizations/SKILL.md
bundled/skills/cs-foundations/SKILL.md
bundled/skills/dask/SKILL.md
bundled/skills/data-artist/SKILL.md
bundled/skills/data-quality-frameworks/SKILL.md
bundled/skills/data-storytelling/SKILL.md
bundled/skills/datacommons-client/SKILL.md
bundled/skills/datavis/SKILL.md
bundled/skills/denario/SKILL.md
bundled/skills/designing-experiments/SKILL.md
bundled/skills/detecting-data-anomalies/SKILL.md
bundled/skills/detecting-performance-regressions/SKILL.md
bundled/skills/dialectic/SKILL.md
bundled/skills/digital-brain/SKILL.md
bundled/skills/dnanexus-integration/SKILL.md
bundled/skills/doc/SKILL.md
bundled/skills/docs-review/SKILL.md
bundled/skills/docs-write/SKILL.md
bundled/skills/document-skills/docx/SKILL.md
bundled/skills/document-skills/pdf/SKILL.md
bundled/skills/document-skills/pptx/SKILL.md
bundled/skills/document-skills/SKILL.md
bundled/skills/documentation-lookup/SKILL.md
bundled/skills/docx-comment-reply/SKILL.md
bundled/skills/docx/SKILL.md
bundled/skills/edgartools/SKILL.md
bundled/skills/embedding-strategies/SKILL.md

Metadata

Files
0
Version
f627ab5
Hash
eb8866f0
Indexed
2026-07-25 04:40

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 06:42
浙ICP备14020137号-1 $방문자$