gentleman-skills
💡 摘要
Gentleman-Skills 提供了针对各种框架的编码最佳实践的策划 AI 代理技能。
🎯 适合人群
🤖 AI 吐槽: “README 建议将文件直接复制到用户目录,这可能导致未授权访问,如果包含恶意技能。为了降低风险,确保技能仅来自受信任的贡献者。”
风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);文件读写范围与路径穿越风险。以最小权限运行,并在生产环境启用前审计代码与依赖。
Gentleman-Skills
Community-driven AI agent skills for Claude Code, OpenCode, and other AI assistants.
Skills are specialized instruction sets that teach AI assistants how to work with specific frameworks, libraries, and patterns. They provide on-demand context so the AI writes code following best practices and conventions.
Philosophy
-
Curated Skills - Personally crafted and battle-tested by @Gentleman-Programming. These reflect MY way of thinking about code architecture - Scope Rule, file naming conventions, signals-first approach, and more. Some skills (like testing and Python) have been developed in collaboration with the team at Prowler.
-
Community Skills - Created by the community, for the community. These go through a democratic voting process before being accepted.
Curated Skills
These skills represent patterns and practices I've personally tested and refined over years of development.
Contributing to this Repo?
Start here! Use the github-pr skill to create proper PRs with conventional commits.
| Skill | Description | Trigger | |-------|-------------|---------| | github-pr | Create quality PRs with conventional commits | When creating PRs or contributing | | skill-creator | Create new skills | When creating new AI agent skills |
Frontend
| Skill | Description | Trigger | |-------|-------------|---------| | angular/core | Standalone components, signals, inject, zoneless | When creating Angular components | | angular/forms | Signal Forms, Reactive Forms | When working with Angular forms | | angular/performance | NgOptimizedImage, @defer, lazy loading, SSR | When optimizing Angular apps | | angular/architecture | Scope Rule, project structure, file naming | When structuring Angular projects | | react-19 | React 19 patterns with React Compiler | When writing React components | | nextjs-15 | Next.js 15 App Router patterns | When working with Next.js | | typescript | TypeScript strict patterns | When writing TypeScript code | | tailwind-4 | Tailwind CSS 4 patterns | When styling with Tailwind | | zod-4 | Zod 4 schema validation | When using Zod for validation | | zustand-5 | Zustand 5 state management | When managing React state |
Backend & AI
| Skill | Description | Trigger | |-------|-------------|---------| | ai-sdk-5 | Vercel AI SDK 5 patterns | When building AI chat features | | django-drf | Django REST Framework patterns | When building REST APIs with Django |
Testing
| Skill | Description | Trigger | |-------|-------------|---------| | playwright | Playwright E2E testing | When writing E2E tests | | pytest | Python pytest patterns | When writing Python tests |
Workflow
| Skill | Description | Trigger | |-------|-------------|---------| | jira-task | Jira task creation | When creating Jira tasks | | jira-epic | Jira epic creation | When creating Jira epics |
Community Skills
Skills contributed by the community and approved through our voting process.
| Skill | Description | Author | Votes | |-------|-------------|--------|-------| | Coming soon | Be the first to contribute! | - | - |
Installation
For Claude Code / OpenCode
Copy the skills you want to use to your Claude configuration:
# Clone the repository git clone https://github.com/Gentleman-Programming/Gentleman-Skills.git # Copy curated skills to Claude config cp -r Gentleman-Skills/curated/* ~/.claude/skills/ # Or copy specific skills cp -r Gentleman-Skills/curated/react-19 ~/.claude/skills/ cp -r Gentleman-Skills/curated/typescript ~/.claude/skills/
Manual Installation
-
Create the skills directory if it doesn't exist:
mkdir -p ~/.claude/skills -
Copy the skill folder(s) you want:
cp -r curated/react-19 ~/.claude/skills/ -
Reference the skill in your project's
CLAUDE.mdor global~/.claude/CLAUDE.md:## Skills When working with React, read `~/.claude/skills/react-19/SKILL.md` first.
How Skills Work
Each skill contains a SKILL.md file with:
- Trigger conditions - When the AI should load this skill
- Patterns and rules - Specific coding conventions to follow
- Code examples - Reference implementations
- Anti-patterns - What to avoid
When the AI detects a matching context (e.g., editing a React component), it reads the skill file and applies those patterns to its responses.
Contributing
We welcome community contributions! See CONTRIBUTING.md for the full process.
Pro tip: Load the github-pr skill to create PRs that follow our conventions!
Quick Overview
- Fork this repository
- Create your skill following the skill template
- Submit a Pull Request to the
community/folder using conventional commits - Community votes for 7 days using reactions
- Accepted if more positive than negative votes
Voting System
- Vote with reactions on the PR
- Voting period: 7 days
- Acceptance criteria:
positive votes > negative votes - Maintainers can fast-track exceptional contributions
Skill Structure
skill-name/
├── SKILL.md # Main skill file (required)
├── examples/ # Code examples (optional)
└── README.md # Skill documentation (optional)
Other Resources
Looking for official Vercel skills? Check out vercel-labs/agent-skills.
License
MIT License - See LICENSE for details.
Made with care by Gentleman Programming and the community.
优点
- 社区驱动的贡献增强了多样性。
- 策划的技能确保高质量的编码实践。
- 支持多种框架和库。
缺点
- 社区技能的文档有限。
- 依赖社区投票可能会减缓贡献速度。
- 安装过程对初学者可能较复杂。
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 Gentleman-Programming.
