スキル一覧に戻る
jovermier

context-detection

by jovermier

Claude Code agents for Go, GraphQL, Next.js, and Playwright. 4 agents, 12 skills for code review and test generation.

0🍴 0📅 2026年1月3日
GitHubで見るManusで実行

SKILL.md


name: context-detection description: Automatically detect project tech stack, frameworks, and development context

Project Context Detection

Automatically analyzes the current project to detect technologies, frameworks, and development patterns.

When to Use

This skill is invoked when:

  • Running /auto-skills command

Detection Methods

1. File System Analysis

Check for configuration files and lock files:

TechnologyIndicators
Node.jspackage.json, package-lock.json, yarn.lock, pnpm-lock.yaml
Gogo.mod, go.sum, *.go files
Pythonrequirements.txt, pyproject.toml, Pipfile, poetry.lock
RubyGemfile, Gemfile.lock
RustCargo.toml, Cargo.lock
Javapom.xml, build.gradle
TypeScripttsconfig.json

2. Framework Detection

FrameworkIndicators
Next.jsnext.config.js, app/ directory with page.tsx
Reactpackage.json contains react, JSX files
Vuepackage.json contains vue, .vue files
GraphQL.graphql files, schema.graphql, Apollo/GraphQL in deps
Expressexpress in dependencies
FastAPIfastapi in dependencies
Djangodjango in dependencies, manage.py
Railsrails in dependencies, config/routes.rb

3. Testing Frameworks

FrameworkIndicators
Jestjest.config.js, *.test.js, *.spec.js
Playwrightplaywright.config.js, *.spec.ts
Pytestpytest.ini, conftest.py, test_*.py
Go testing*_test.go files

4. Code Analysis

Analyze file extensions and imports:

  • Count file types (.go, .tsx, .py, etc.)
  • Analyze import statements for frameworks
  • Check for API routes, database schemas

Output Format

Return a structured context object:

{
  "languages": ["go", "javascript"],
  "frameworks": ["nextjs", "graphql"],
  "testing": ["playwright", "go-testing"],
  "packageManager": "pnpm",
  "hasApi": true,
  "hasDatabase": true,
  "projectType": "fullstack"
}

Example Workflow

When detecting context for a project:

  1. Scan root directory for config files
  2. Analyze package.json, go.mod, or equivalent
  3. Count file types in src/ or main directories
  4. Check for test files and frameworks
  5. Return structured context for auto-installation decisions

Integration

This skill feeds into:

  • scan: Determines which SkillsMP skills to fetch

スコア

総合スコア

65/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です