source-command-methodology-advisor
它能做什么
它查看项目的文件和历史记录,然后提出几个问题,以推荐一套合适的 AI 辅助开发方法。适用于选择如何与 AI 工具协作的开发者和团队负责人。
适用场景
- ✓当团队想知道哪种 AI 辅助开发方式适合其项目时。
- ✓当开发者开始处理已有的代码库,并希望获得使用 AI 工具的推荐方式时。
- ✓当负责人需要一份快速的设置方案,并附上所选方法的起步步骤时。
技能链接
https://github.com/FlorianBruniaux/claude-code-ultimate-guide/blob/main/.agents/skills/source-command-methodology-advisor/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请查看我的项目,并为它推荐最合适的 AI 辅助开发方式。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能读取 package 和配置等项目文件,检查是否存在测试以及团队的活动情况,然后询问它无法推断的内容。它会给出一套推荐方案和简短的快速入门步骤。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
source-command-methodology-advisor
Use this skill when the user asks to run the migrated source command methodology-advisor.
Command Template
Methodology Advisor
Analyze this project and recommend the best AI-assisted development methodology stack. Read what you can from the codebase first, then ask only what you cannot infer.
Time: 2-4 minutes | Output: One recommended stack + contextual quick start
Phase 1 — Silent codebase analysis
Run these reads silently. Do not output results yet — build an internal picture only.
1.1 Project identity
# Config files
cat AGENTS.md 2>/dev/null || cat AGENTS.md 2>/dev/null
cat package.json 2>/dev/null | grep -E '"name"|"description"|"scripts"' | head -10
cat Cargo.toml 2>/dev/null | grep -E '^name|^description' | head -5
cat pyproject.toml 2>/dev/null | grep -E '^name|^description' | head -5
cat go.mod 2>/dev/null | head -3
1.2 Team size
# Unique contributors in last 90 days
git log --since="90 days ago" --format="%ae" 2>/dev/null | sort -u | wc -l
# Total commits
git log --oneline 2>/dev/null | wc -l
1.3 Test maturity
# Test files exist?
find . -name "*.test.*" -o -name "*.spec.*" -o -name "*_test.*" -o -name "test_*.py" \
2>/dev/null | grep -v node_modules | grep -v ".git" | wc -l
# Test framework hints
grep -rn --include="*.json" --include="*.toml" --include="*.yaml" \
-l "jest\|vitest\|pytest\|rspec\|mocha\|cypress\|playwright" \
2>/dev/null | grep -v node_modules | head -5
# CI config
ls .github/workflows/*.yml 2>/dev/null | wc -l
ls .gitlab-ci.yml .circleci/config.yml 2>/dev/null | wc -l
1.4 Spec and documentation signals
# Spec files
find . -name "*.spec.md" -o -name "SPEC*.md" -o -name "spec.md" -o -name "DESIGN*.md" \
-o -name "ADR*.md" -o -name "RFC*.md" \
2>/dev/null | grep -v node_modules | grep -v ".git" | head -10
# OpenAPI / contract files
find . -name "openapi*.yaml" -o -name "openapi*.json" -o -name "swagger*.yaml" \
-o -name "*.proto" \
2>/dev/null | grep -v node_modules | head -5
# BDD feature files
find . -name "*.feature" 2>/dev/null | grep -v node_modules | wc -l
1.5 Codebase size and structure
# File count (rough)
find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.py" \
-o -name "*.rs" -o -name "*.go" -o -name "*.java" -o -name "*.rb" \) \
2>/dev/null | grep -v node_modules | grep -v ".git" | wc -l
# Services / packages (monorepo signal)
ls packages/ apps/ services/ 2>/dev/null | head -10
1.6 AI and LLM signals
# LLM API usage in code
grep -rn --include="*.ts" --include="*.py" --include="*.js" \
-l "anthropic\|openai\|groq\|mistral\|langchain\|llm\|ChatCompletion\|Codex" \
2>/dev/null | grep -v node_modules | grep -v ".git" | head -5
# Eval framework hints
find . -name "evals*" -o -name "*eval*" -type d 2>/dev/null | grep -v node_modules | head -5
Phase 2 — Score the 8 stacks
Using what you found, score each stack 0-10 based on fit signals:
| Stack | Key signals that boost the score |
|---|---|
| solo-mvp | 1 contributor, few files, no CI yet, greenfield |
| team-greenfield | 2-10 contributors, new project, no legacy files |
| microservices | packages/, services/, OpenAPI files, .proto |
| brownfield-saas | High commit count, large file count, few test files |
| enterprise-gov | 10+ contributors, CI, ADR files, AGENTS.md |
| llm-native | LLM imports, eval dirs, AI product signals |
| power-solo | 1 contributor, high commit rate, iterative commits |
| plan-moderate | Mixed signals, AGENTS.md present, moderate size |
Phase 3 — Ask only what you cannot infer
After the silent analysis, present your preliminary picture to the user in 2-3 lines, then ask exactly 3 questions. No more.
Format:
From your codebase I can see: [2-3 concrete observations].
Before recommending, 3 quick questions:
1. [Pain point question — pick the most relevant from below]
2. [Deploy frequency — if not inferable from CI/CD signals]
3. [Setup appetite — how much ceremony are you willing to invest?]
Question bank — pick the 3 most relevant given what you found:
- Pain: "What slows you down most right now — regressions, unclear requirements, context rot between sessions, or no traceability?"
- Pain: "When Codex generates a large chunk of code, what is your biggest worry — quality, drift from spec,
常见问题
它会改动我的项目吗?
该技能说明,它会先阅读项目以了解全貌,然后给出推荐。
它会查看哪些内容?
它查看配置文件、测试设置以及 git 历史中最近的贡献者活动。
需要多长时间?
该技能说明大约需要两到四分钟。
详情
作者的原始描述
Analyzes your codebase and asks 3 targeted questions to recommend the right AI-assisted development methodology stack
热度
- GitHub 星标
- 6.3k
- 排名
- #14236
- 许可证
- CC-BY-SA-4.0
- 更新时间
- 2026/11/2
评论
- …