github / github/spec-kit

[Extension]: Add china-compliance

Đang mở
#2,760 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
stale
Ngôn ngữ chính
Python
Star
137k
Fork
12.3k
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
159

Mô tả

## Extension Submission

### Extension ID
china-compliance

### Extension Name
China Compliance Extension

### Version
1.0.0

### Description
Chinese advertising law compliance checker, AI search visibility auditor, and cross-border data compliance assessor for Spec-Driven Development. Covers 200+ banned words across 5 Chinese platforms (Baidu/Douyin/Xiaohongshu/Taobao/WeChat), AI citation monitoring for 5 Chinese AI engines (DeepSeek/Kimi/豆包/通义千问/文心一言), and PIPL/GDPR/CCPA cross-border data transfer assessment.

### Author
lm203688

### Repository URL
https://github.com/lm203688/spec-kit-china-compliance

### Download URL
https://github.com/lm203688/spec-kit-china-compliance/archive/refs/tags/v1.0.0.zip

### License
MIT

### Homepage
https://github.com/lm203688/spec-kit-china-compliance

### Documentation URL
https://github.com/lm203688/spec-kit-china-compliance#readme

### Required Spec Kit Version
>=0.1.0

### Number of Commands
3

### Number of Hooks
0

### Tags
compliance, chinese, geo, legal

### Key Features
- 200+ banned words across 5 Chinese platforms with safe replacement suggestions
- AI search visibility scoring across 5 Chinese AI engines (DeepSeek, Kimi, 豆包, 通义千问, 文心一言)
- Cross-border data transfer assessment (PIPL + GDPR + CCPA)
- Risk-level classification (high/medium/low) with actionable fix suggestions
- Real API backend for compliance checks (no API key required for basic usage)
- 3 slash commands: /speckit.china-compliance.check, /speckit.china-compliance.geo-audit, /speckit.china-compliance.data-export

### Submission Requirements
- [x] Valid extension.yml manifest included
- [x] README.md with installation and usage instructions
- [x] LICENSE file included
- [x] GitHub release created with version tag
- [x] All command files exist and are properly formatted
- [x] Extension ID follows naming conventions (lowercase-with-hyphens)

### Testing Details
Tested with Claude Code, Cursor, and Windsurf. All 3 commands execute without errors. API backend tested with real Chinese advertising copy. extension.yml validated against spec-kit schema. Compatible with 30+ AI coding agents.

### Example Usage
```
# Check content for Chinese advertising law violations
/speckit.china-compliance.check "我们的产品是全国最好的,效果第一,国家级认证"

# Audit brand visibility in Chinese AI search engines
/speckit.china-compliance.geo-audit "你的品牌名"

# Assess cross-border data compliance
/speckit.china-compliance.data-export "电商应用,收集用户姓名地址支付信息,数据存储在AWS新加坡"
```

### Proposed Category
Compliance

### Additional Context
This extension is powered by a real API backend deployed on Tencent Cloud SCF. The same backend powers our ClawHub skills (cn-seo-optimizer, cn-geo-monitor, china-data-compliance) which have been battle-tested with real users. China compliance is a unique niche with no existing spec-kit extensions covering it.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.