engineer-expertise-extractor
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "engineer-expertise-extractor":https://skillpi.com/zh/skills/deepskill-8de8346e46f0cafddcf5c183c104ba14e600ac61fa43aae8f0d5f2a63eaf4555。安装前核对上游来源和版本:https://github.com/jamesrochabrun/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
提取工程师在 GitHub 上的代码风格、模式与最佳实践,并将其结构化为可复制的知识库,以复现其工程专业技能。
介绍来源: third_party · jamesrochabrun · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 限制与区别
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: engineer-expertise-extractor
description: Research and extract an engineer's coding style, patterns, and best practices from their GitHub contributions. Creates structured knowledge base for replicating their expertise.Engineer Expertise Extractor
Extract and document an engineer's coding expertise by analyzing their GitHub contributions, creating a structured knowledge base that captures their coding style, patterns, best practices, and architectural decisions.
What This Skill Does
Researches an engineer's work to create a "digital mentor" by:
- Analyzing Pull Requests - Extract code patterns, review style, decisions
- Extracting Coding Style - Document their preferences and conventions
- Identifying Patterns - Common solutions and approaches they use
- Capturing Best Practices - Their quality standards and guidelines
- Organizing Examples - Real code samples from their work
- Documenting Decisions - Architectural choices and reasoning
Why This Matters
Knowledge Preservation:
- Capture expert knowledge before they leave
- Document tribal knowledge
- Create mentorship materials
- Onboard new engineers faster
Consistency:
- Align team coding standards
- Replicate expert approaches
- Maintain code quality
- Scale expertise across team
Learning:
- Learn from senior engineers
- Understand decision-making
- See real-world patterns
- Improve code quality
How It Works
1. Research Phase
Using GitHub CLI (gh), the skill:
- Fetches engineer's pull requests
- Analyzes code changes
- Reviews their comments and feedback
- Extracts patterns and conventions
- Identifies their expertise areas
2. Analysis Phase
Categorizes findings into:
- Coding Style - Formatting, naming, structure
- Patterns - Common solutions and approaches
- Best Practices - Quality guidelines
- Architecture - Design decisions
- Testing - Testing approaches
- Code Review - Feedback patterns
- Documentation - Doc style and practices
3. Organization Phase
Creates structured folders:
engineer_profiles/
└── [engineer_name]/
├── README.md (overview)
├── coding_style/
│ ├── languages/
│ ├── naming_conventions.md
│ ├── code_structure.md
│ └── formatting_preferences.md
├── patterns/
│ ├── common_solutions.md
│ ├── design_patterns.md
│ └── code_examples/
├── best_practices/
│ ├── code_quality.md
│ ├── testing_approach.md
│ ├── performance.md
│ └── security.md
├── architecture/
│ ├── design_decisions.md
│ ├── tech_choices.md
│ └── trade_offs.md
├── code_review/
│ ├── feedback_style.md
│ ├── common_suggestions.md
│ └── review_examples.md
└── examples/
├── by_language/
├── by_pattern/
└── notable_prs/
Output Structure
Engineer Profile README
Contains:
- Engineer overview
- Areas of expertise
- Languages and technologies
- Key contributions
- Coding philosophy
- How to use this profile
Coding Style Documentation
Captures:
- Naming conventions (variables, functions, classes)
- Code structure preferences
- File organization
- Comment style
- Formatting preferences
- Language-specific idioms
Example:
# Coding Style: [Engineer Name]
## Naming Conventions
### Variables
- Use descriptive names: `userAuthentication` not `ua`
- Boolean variables: `isActive`, `hasPermission`, `canEdit`
- Collections: plural names `users`, `items`, `transactions`
### Functions
- Verb-first: `getUserById`, `validateInput`, `calculateTotal`
- Pure functions preferred
- Single responsibility
### Classes
- PascalCase: `UserService`, `PaymentProcessor`
- Interface prefix: `IUserRepository`
- Concrete implementations: `MongoUserRepository`
## Code Structure
### File Organization
- One class per file
- Related functions grouped together
- Tests alongside implementation
- Clear separation of concerns
### Function Length
- Max 20-30 lines preferred
- Extract helper functions
- Single level of abstraction
Patterns Documentation
Captures:
- Recurring solutions
- Design patterns used
- Architectural patterns
- Problem-solving approaches
Example:
# Common Patterns: [Engineer Name]
## Dependency Injection
Used consistently across services:
\`\`\`typescript
// Pattern: Constructor injection
class UserService {
constructor(
private readonly userRepo: IUserRepository,
private readonly logger: ILogger
) {}
}
\`\`\`
**Why:** Testability, loose coupling, clear dependencies
## Error Handling
Consistent error handling approach:
\`\`\`typescript
// Pattern: Custom error types + global handler
class ValidationError extends Error {
constructor(message: string) {
super(message);
this.name = 'ValidationError';
}
}
// Usage
if (!isValid(input)) {
throw new ValidationError('Invalid input format');
}
\`\`\`
**Why:** Type-safe errors, centralized handling, clear debugging
Best Practices Documentation
Captures:
- Quality standards
- Testing approaches
- Performance guidelines
- Security practices
- Documentation standards
Example:
# Best Practices: [Engineer Name]
## Testing
### Unit Test Structure
- AAA pattern (Arrange, Act, Assert)
- One assertion per test preferred
- Test names describe behavior
- Mock external dependencies
\`\`\`typescript
describe('UserService', () => {
describe('createUser', () => {
it('should create user with valid data', async () => {
// Arrange
const userData = { email: 'test@example.com', name: 'Test' };
const mockRepo = createMockRepository();
// Act
const result = await userService.createUser(userData);
// Assert
expect(result.id).toBeDefined();
expect(result.email).toBe(userData.email);
});
});
});
\`\`\`
### Test Coverage
- Aim for 80%+ coverage
- 100% coverage for critical paths
- Integration tests for APIs
- E2E tests for user flows
## Code Review Standards
### What to Check
- [ ] Tests included and passing
- [ ] No console.logs remaining
- [ ] Error handling present
- [ ] Comments explain "why" not "what"
- [ ] No hardcoded values
- [ ] Security considerations addressed
Architecture Documentation
Captures:
- Design decisions
- Technology choices
- Trade-offs made
- System design approaches
Example:
# Architectural Decisions: [Engineer Name]
## Decision: Microservices vs Monolith
**Context:** Scaling user service
**Decision:** Start monolith, extract services when needed
**Reasoning:**
- Team size: 5 engineers
- Product stage: MVP
- Premature optimization risk
- Easier debugging and deployment
**Trade-offs:**
- Monolith pros: Simpler, faster development
- Monolith cons: Harder to scale later
- Decision: Optimize for current needs, refactor when hitting limits
## Decision: REST vs GraphQL
**Context:** API design for mobile app
**Decision:** REST with versioning
**Reasoning:**
- Team familiar with REST
- Simple use cases
- Caching easier
- Over-fetching not a problem yet
**When to reconsider:** If frontend needs complex queries
Code Review Documentation
Captures:
- Feedback patterns
- Review approach
- Common suggestions
- Communication style
Example:
# Code Review Style: [Engineer Name]
## Review Approach
### Priority Order
1. Security vulnerabilities
2. Logic errors
3. Test coverage
4. Code structure
5. Naming and style
### Feedback Style
- Specific and constructive
- Explains "why" behind suggestions
- Provides examples
- Asks questions to understand reasoning
### Common Suggestions
**Security:**
- "Consider input validation here"
- "This query is vulnerable to SQL injection"
- "Should we rate-limit this endpoint?"
**Performance:**
- "This N+1 query could be optimized with a join"
- "Consider caching this expensive operation"
- "Memoize this pure function"
**Testing:**
- "Can we add a test for the error case?"
- "What happens if the API returns null?"
- "Let's test the boundary conditions"
**Code Quality:**
- "Can we extract this into a helper function?"
- "This function is doing too many things"
- "Consider a more descriptive variable name"
Using This Skill
Extract Engineer Profile
./scripts/extract_engineer.sh [github-username]
Interactive workflow:
- Enter GitHub username
- Select repository scope (all/specific org)
- Choose analysis depth (last N PRs)
- Specify focus areas (languages, topics)
- Extract and organize findings
Output: Structured profile in engineer_profiles/[username]/
Analyze Specific Repository
./scripts/analyze_repo.sh [repo-url] [engineer-username]
Focuses analysis on specific repository contributions.
Update Existing Profile
./scripts/update_profile.sh [engineer-username]
Adds new PRs and updates existing profile.
Research Sources
GitHub CLI Queries
Pull Requests:
gh pr list --author [username] --limit 100 --state all
gh pr view [pr-number] --json title,body,files,reviews,comments
Code Changes:
gh pr diff [pr-number]
gh api repos/{owner}/{repo}/pulls/{pr}/files
Reviews:
gh pr view [pr-number] --comments
gh api repos/{owner}/{repo}/pulls/{pr}/reviews
Commits:
gh api search/commits --author [username]
Analysis Techniques
Pattern Recognition:
- Identify recurring code structures
- Extract common solutions
- Detect naming patterns
- Find architectural choices
Style Extraction:
- Analyze formatting consistency
- Extract naming conventions
- Identify comment patterns
- Detect structural preferences
Best Practice Identification:
- Look for testing patterns
- Find error handling approaches
- Identify security practices
- Extract performance optimizations
Use Cases
1. Onboarding New Engineers
Problem: New engineer needs to learn team standards Solution: Provide senior engineer's profile as reference
Benefits:
- Real examples from codebase
- Understand team conventions
- See decision-making process
- Learn best practices
2. Code Review Training
Problem: Teaching good code review skills Solution: Study experienced reviewer's feedback patterns
Benefits:
- Learn what to look for
- Understand feedback style
- See common issues
- Improve review quality
3. Knowledge Transfer
Problem: Senior engineer leaving, knowledge lost Solution: Extract their expertise before departure
Benefits:
- Preserve tribal knowledge
- Document decisions
- Maintain code quality
- Reduce bus factor
4. Establishing Team Standards
Problem: Inconsistent coding styles across team Solution: Extract patterns from best engineers, create standards
Benefits:
- Evidence-based standards
- Real-world examples
- Buy-in from team
- Consistent codebase
5. AI Agent Training
Problem: Agent needs to code like specific engineer Solution: Provide extracted profile to agent
Benefits:
- Match expert's style
- Follow their patterns
- Apply their best practices
- Maintain consistency
Profile Usage by Agents
When an agent has access to an engineer profile, it can:
Code Generation:
- Follow extracted naming conventions
- Use identified patterns
- Apply documented best practices
- Match architectural style
Code Review:
- Provide feedback in engineer's style
- Check for common issues they'd catch
- Apply their quality standards
- Match their priorities
Problem Solving:
- Use their common solutions
- Follow their architectural approach
- Apply their design patterns
- Consider their trade-offs
Example Agent Prompt:
"Using the profile at engineer_profiles/senior_dev/, write a user service
following their coding style, patterns, and best practices. Pay special
attention to their error handling approach and testing standards."
Best Practices
Research Ethics
DO:
- ✅ Get permission before extracting
- ✅ Focus on public contributions
- ✅ Respect privacy
- ✅ Use for learning and improvement
DON'T:
- ❌ Extract without permission
- ❌ Share profiles externally
- ❌ Include sensitive information
- ❌ Use for performance reviews
Profile Maintenance
Regular Updates:
- Refresh every quarter
- Add new significant PRs
- Update with latest patterns
- Archive outdated practices
Quality Control:
- Verify extracted patterns
- Review examples for relevance
- Update documentation
- Remove deprecated practices
Effective Usage
For Learning:
- Study patterns with context
- Understand reasoning behind choices
- Practice applying techniques
- Ask questions when unclear
For Replication:
- Start with style guide
- Reference patterns for similar problems
- Adapt to current context
- Don't blindly copy
Limitations
What This Extracts:
- ✅ Coding style and conventions
- ✅ Common patterns and approaches
- ✅ Best practices and guidelines
- ✅ Architectural decisions
- ✅ Review feedback patterns
What This Doesn't Capture:
- ❌ Real-time problem-solving process
- ❌ Verbal communication style
- ❌ Meeting discussions
- ❌ Design phase thinking
- ❌ Interpersonal mentoring
Future Enhancements
Potential additions:
- Slack message analysis (communication style)
- Design doc extraction (design thinking)
- Meeting notes analysis (decision process)
- Video analysis (pair programming sessions)
- Code metrics tracking (evolution over time)
Example Output
engineer_profiles/
└── senior_dev/
├── README.md
│ # Senior Dev - Staff Engineer
│ Expertise: TypeScript, Node.js, System Design
│ Focus: API design, performance optimization
│
├── coding_style/
│ ├── typescript_style.md
│ ├── naming_conventions.md
│ └── code_structure.md
│
├── patterns/
│ ├── dependency_injection.md
│ ├── error_handling.md
│ └── examples/
│ ├── service_pattern.ts
│ └── repository_pattern.ts
│
├── best_practices/
│ ├── testing_strategy.md
│ ├── code_quality.md
│ └── performance.md
│
├── architecture/
│ ├── api_design.md
│ ├── database_design.md
│ └── scaling_approach.md
│
├── code_review/
│ ├── feedback_examples.md
│ └── review_checklist.md
│
└── examples/
└── notable_prs/
├── pr_1234_auth_refactor.md
└── pr_5678_performance_fix.md
Summary
This skill transforms an engineer's GitHub contributions into a structured, reusable knowledge base. It captures their expertise in a format that:
- Humans can learn from - Clear documentation with examples
- Agents can replicate - Structured patterns and guidelines
- Teams can adopt - Evidence-based best practices
- Organizations can preserve - Knowledge that survives turnover
The goal: Make expertise scalable, learnable, and replicable.
"The best way to learn is from those who have already mastered it."
版本历史
-
2.1.1
GitHub ↗
原版更新说明
## What's Changed * Add releasing-macos-apps skill by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/33 **Full Changelog**: https://github.com/jamesrochabrun/skills/compare/2.1.0...2.1.1
-
2.1.0
GitHub ↗
原版更新说明
**Full Changelog**: https://github.com/jamesrochabrun/skills/compare/1.1.0...2.1.0
-
1.1.0
GitHub ↗
原版更新说明
## What's Changed * Explore Anthropic Skills package structure by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/1 * Add git-worktrees skill for parallel Claude Code development by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/2 * TPMM Skill by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/3 * Add design-brief-generator skill for designers by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/4 * Add trading-plan-generator skill for traders by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/5 * Add qa-test-planner skill for QA engineers by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/6 * Add engineer-expertise-extractor - Research & replicate engineering e… by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/7 * Add engineer-skill-creator - Transform expertise into progressive dis… by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/8 * Add frontend-designer skill - Accessible component & design system cr… by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/9 * Add apple-hig-designer - iOS app design following Apple Human Interfa… by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/10 * Add query-expert skill - SQL & database query optimization across mul… by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/11 * Add math-teacher skill - interactive gamified math learning by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/12 * Add reading-teacher skill - interactive reading education for ages 1-10 by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/13 * Add leetcode-teacher skill - Interactive technical interview preparation by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/14 * Create plugin architecture for skills system by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/15 * Add Claude Code marketplace support by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/16 * Fix marketplace.json schema - use kebab-case name, add owner field, r… by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/17 * Add kids-book-writer skill - Comprehensive children's book writing as… by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/18 * Add comprehensive book-illustrator skill for children's books by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/19 * Claude/fix marketplace schema 019 f pq kcj gc98mhn d5z rk6ji by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/20 * Add comprehensive prompt-engineer skill for Claude AI by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/21 * Add comprehensive prompt-engineer skill with GPT-5 and Claude best pr… by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/22 * Rename skill from prompt-engineer to anthropic-prompt-engineer by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/23 * Fix marketplace.json - add skills array with all 20 skills by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/24 * Fix marketplace.json - add skills array following official Anthropic … by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/25 * Create skill for Anthropic architect by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/26 * feat: Add individual skill installation support (v2.0.0) by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/27 * Improve math-teacher skill documentation and scripts by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/28 * Fix plugin conflict: set strict: true for all-skills plugin by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/29 * Add swiftui-animation skill by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/30 * Add HIG Motion design guidelines to swiftui-animation skill by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/31 * Add swift-concurrency skill for modern Swift 6+ concurrency patterns by @jamesrochabrun in https://github.com/jamesrochabrun/skills/pull/32 ## New Contributors * @jamesrochabrun made their first contribution in https://github.com/jamesrochabrun/skills/pull/1 **Full Changelog**: https://github.com/jamesrochabrun/skills/commits/1.1.0
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决工程师知识传承的核心痛点,具有明确的实用价值
- 支持团队标准化、新人培训、代码审查训练等多个高频场景
- 通过GitHub CLI工具实现自动化分析,提升效率
亮点
- 触发词精准完整,覆盖多种变体,边界清晰
- description明确描述了技能的核心功能和价值
亮点
- Phase/步骤清晰,有出口条件,含端到端示例
- frontmatter完整,单文件≤500行
- 文档结构完整,包含What/Why/How/Use Cases等标准章节
亮点
- 工具来源明确(GitHub CLI),参数正确
- 覆盖主要异常,不可逆操作有确认机制
- 提供了完整的脚本执行流程和错误处理建议
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。