Loading...
Loading...
Compare original and translation side by side
./extract_engineer.sh senior_dev./extract_engineer.sh senior_devundefinedundefined./create_expert_skill.sh senior_dev./create_expert_skill.sh senior_dev
**Result:** A ready-to-use skill that agents can query for specific guidance.
**结果:** 一个可直接使用的Skill,Agent可通过它查询特定指导内容。expert-skills/
└── [engineer-name]-mentor/
├── SKILL.md (skill documentation)
├── query_expertise.sh (interactive query tool)
├── expertise/
│ ├── by_task/
│ │ ├── authentication.md
│ │ ├── api_design.md
│ │ ├── database_design.md
│ │ ├── error_handling.md
│ │ └── testing.md
│ ├── by_language/
│ │ ├── typescript.md
│ │ ├── python.md
│ │ └── go.md
│ ├── by_pattern/
│ │ ├── dependency_injection.md
│ │ ├── repository_pattern.md
│ │ └── factory_pattern.md
│ └── quick_reference/
│ ├── coding_style.md
│ ├── naming_conventions.md
│ └── best_practices.md
└── examples/
├── authentication_service.ts
├── api_controller.ts
└── test_example.spec.tsexpert-skills/
└── [engineer-name]-mentor/
├── SKILL.md (skill documentation)
├── query_expertise.sh (interactive query tool)
├── expertise/
│ ├── by_task/
│ │ ├── authentication.md
│ │ ├── api_design.md
│ │ ├── database_design.md
│ │ ├── error_handling.md
│ │ └── testing.md
│ ├── by_language/
│ │ ├── typescript.md
│ │ ├── python.md
│ │ └── go.md
│ ├── by_pattern/
│ │ ├── dependency_injection.md
│ │ ├── repository_pattern.md
│ │ └── factory_pattern.md
│ └── quick_reference/
│ ├── coding_style.md
│ ├── naming_conventions.md
│ └── best_practices.md
└── examples/
├── authentication_service.ts
├── api_controller.ts
└── test_example.spec.tsby_task/authentication.mdby_task/authentication.md"Using the skill expert-skills/senior-dev-mentor/, show me how to
implement authentication""使用expert-skills/senior-dev-mentor/ Skill,展示如何实现身份验证""Using expert-skills/senior-dev-mentor/, write a TypeScript service
following their style""使用expert-skills/senior-dev-mentor/ Skill,按照他们的风格编写一个TypeScript服务""Using expert-skills/senior-dev-mentor/, implement the repository
pattern as they would""使用expert-skills/senior-dev-mentor/ Skill,按照他们的方式实现仓库模式"./query_expertise.sh
What are you working on?
1) Authentication
2) API Design
3) Database
4) Testing
5) Custom query
Select: 1
=== Authentication Expertise ===
[Shows relevant patterns, examples, best practices]./query_expertise.sh
What are you working on?
1) Authentication
2) API Design
3) Database
4) Testing
5) Custom query
Select: 1
=== Authentication Expertise ===
[Shows relevant patterns, examples, best practices]engineer_profiles/senior_dev/
├── coding_style/
├── patterns/
├── best_practices/
├── architecture/
├── code_review/
└── examples/engineer_profiles/senior_dev/
├── coding_style/
├── patterns/
├── best_practices/
├── architecture/
├── code_review/
└── examples/expert-skills/senior-dev-mentor/
├── SKILL.md
├── query_expertise.sh
├── expertise/
│ ├── by_task/
│ ├── by_language/
│ ├── by_pattern/
│ └── quick_reference/
└── examples/expert-skills/senior-dev-mentor/
├── SKILL.md
├── query_expertise.sh
├── expertise/
│ ├── by_task/
│ ├── by_language/
│ ├── by_pattern/
│ └── quick_reference/
└── examples/expertise/by_task/authentication.mdundefinedexpertise/by_task/authentication.mdundefinedundefinedundefined"Using expert-skills/senior-dev-mentor/, write a user service""使用expert-skills/senior-dev-mentor/ Skill,编写一个用户服务""Using expert-skills/tech-lead-mentor/, how do I handle rate limiting?""使用expert-skills/tech-lead-mentor/ Skill,我该如何处理速率限制?""Using expert-skills/architect-mentor/, review this code""使用expert-skills/architect-mentor/ Skill,评审这段代码"./query_expertise.sh
> Working on: Authentication
> Language: TypeScript
Output:
=== Authentication in TypeScript ===
Preferred approach: JWT with refresh tokens
[Shows specific auth pattern]
[Provides TS code example]
[Testing strategy]
[Security checklist]
Related: error_handling.md, api_design.md./query_expertise.sh
> Working on: Authentication
> Language: TypeScript
Output:
=== Authentication in TypeScript ===
Preferred approach: JWT with refresh tokens
[Shows specific auth pattern]
[Provides TS code example]
[Testing strategy]
[Security checklist]
Related: error_handling.md, api_design.md./query_expertise.sh
> Working on: Database design
> Database: PostgreSQL
Output:
=== Database Design - PostgreSQL ===
Schema design approach:
- Normalized tables
- Foreign keys enforced
- Indexes on lookups
- Migrations for changes
[Shows migration example]
[Query optimization patterns]
[Testing approach]./query_expertise.sh
> Working on: Database design
> Database: PostgreSQL
Output:
=== Database Design - PostgreSQL ===
Schema design approach:
- Normalized tables
- Foreign keys enforced
- Indexes on lookups
- Migrations for changes
[Shows migration example]
[Query optimization patterns]
[Testing approach]./query_expertise.sh
> Working on: Error handling
> Language: Python
Output:
=== Error Handling in Python ===
Pattern: Custom exception classes + global handler
[Shows exception hierarchy]
[Handler implementation]
[Logging approach]
[User-facing messages]./query_expertise.sh
> Working on: Error handling
> Language: Python
Output:
=== Error Handling in Python ===
Pattern: Custom exception classes + global handler
[Shows exception hierarchy]
[Handler implementation]
[Logging approach]
[User-facing messages]cd engineer-skill-creator
./scripts/create_expert_skill.sh [engineer-username]cd engineer-skill-creator
./scripts/create_expert_skill.sh [engineer-username]./scripts/create_expert_skill.sh [engineer-username] --focus api,testing./scripts/create_expert_skill.sh [engineer-username] --focus api,testing"Load the expert-skills/senior-dev-mentor/ skill and help me
implement this feature following their approach""加载expert-skills/senior-dev-mentor/ Skill,按照他们的方法帮助我实现这个功能""Using expert-skills/tech-lead-mentor/, review this PR for:
- Code style compliance
- Pattern usage
- Best practices
- Security considerations""使用expert-skills/tech-lead-mentor/ Skill,从以下方面评审这个PR:
- 代码风格合规性
- 模式使用
- 最佳实践
- 安全注意事项""Using expert-skills/architect-mentor/, how would they design
this microservice?""使用expert-skills/architect-mentor/ Skill,他们会如何设计这个微服务?"./scripts/update_expert_skill.sh senior-dev./scripts/update_expert_skill.sh senior-dev"Using expert-skills/[engineer]-mentor/, [task description]"extract_engineer.sh usernamecreate_expert_skill.sh username"使用expert-skills/[engineer]-mentor/ Skill,[任务描述]"extract_engineer.sh usernamecreate_expert_skill.sh username