contribution-guidelines
Follow CIA project contribution process: PR workflow, code review standards, commit conventions
来源信息
- 仓库
- Hack23/cia
- 最近来源活动
- 2026年2月1日 00:05
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 241
- Forks
- 56
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- contribution-guidelines
- description
- Follow CIA project contribution process: PR workflow, code review standards, commit conventions
# Contribution Guidelines Skill
## Purpose
Follow proper contribution process for CIA project including PR workflow and code review standards.
## When to Use
- ✅ Submitting pull requests
- ✅ Conducting code reviews
- ✅ Contributing to open source
- ✅ Reporting bugs or requesting features
## Pull Request Process
### 1. Fork and Clone
```bash
git clone https://github.com/YOUR-USERNAME/cia.git
cd cia
git remote add upstream https://github.com/Hack23/cia.git
```
### 2. Create Feature Branch
```bash
git checkout -b feature/politician-analytics
```
### 3. Make Changes
```bash
# Follow coding standards
# Write tests
# Update documentation
```
### 4. Commit with Conventional Commits
```bash
git commit -m "feat: add politician voting analytics dashboard"
git commit -m "fix: resolve SQL injection in search endpoint"
git commit -m "docs: update SECURITY_ARCHITECTURE.md"
```
### 5. Push and Create PR
```bash
git push origin feature/politician-analytics
# Create PR via GitHub UI
```
## Code Review Checklist
### For Contributors
- ✅ All tests pass locally
- ✅ Code follows project conventions
- ✅ Documentation updated
- ✅ Security considerations addressed
- ✅ No secrets committed
### For Reviewers
- ✅ Code is maintainable and readable
- ✅ Test coverage adequate
- ✅ Security vulnerabilities checked
- ✅ Performance implications considered
- ✅ Documentation complete
## Commit Message Format
```
type(scope): subject
body
footer
```
Types: feat, fix, docs, style, refactor, test, chore
## References
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
- PULL_REQUEST_TEMPLATE.md
在 GitHub 查看