source-command-methodology-advisor
Skill này làm gì
Skill xem các file và lịch sử của dự án, rồi hỏi vài câu để gợi ý một bộ phương pháp phát triển có hỗ trợ AI phù hợp. Dành cho lập trình viên và trưởng nhóm đang chọn cách làm việc với công cụ AI.
Khi nào nên dùng
- ✓Khi một đội muốn biết cách tiếp cận phát triển có hỗ trợ AI nào phù hợp với dự án của họ.
- ✓Khi lập trình viên bắt đầu làm việc trên một mã nguồn có sẵn và muốn cách dùng công cụ AI được khuyến nghị.
- ✓Khi trưởng nhóm muốn một kế hoạch thiết lập nhanh với điểm khởi đầu cho phương pháp đã chọn.
Liên kết skill
https://github.com/FlorianBruniaux/claude-code-ultimate-guide/blob/main/.agents/skills/source-command-methodology-advisor/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Xem dự án của tôi và đề xuất cách phát triển có hỗ trợ AI tốt nhất cho nó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đọc các file dự án như file package và cấu hình, kiểm tra sự có mặt của bài kiểm thử và hoạt động của đội trong lịch sử git, rồi hỏi những điều nó không thể suy ra. Kết quả là một bộ công cụ được khuyến nghị kèm hướng dẫn bắt đầu nhanh.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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,
Câu hỏi thường gặp
Nó có thay đổi dự án của tôi không?
Skill mô tả việc đọc dự án để xây dựng bức tranh về nó, rồi đưa ra khuyến nghị.
Nó xem những gì?
Nó xem các file cấu hình, thiết lập kiểm thử và hoạt động gần đây của người đóng góp trong lịch sử git.
Mất bao lâu?
Skill nói mất khoảng hai đến bốn phút.
Chi tiết
Mô tả gốc của tác giả
Analyzes your codebase and asks 3 targeted questions to recommend the right AI-assisted development methodology stack
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14236
- Giấy phép
- CC-BY-SA-4.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.