github / github/spec-kit

[Extension]: Add china-compliance

Ouverte
#2,759 4 commentaires 0 réactions 1 personne assignée Réclamée par @mnriem Voir sur GitHub
enhancement extension-submission stale
Langage dominant
Python
Étoiles
137k
Forks
12.3k
Merge moyen
2 j 12 h
PR mergées (30 j)
159

Description

### 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, AI citation monitoring for 5 Chinese AI engines, 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 (optional)

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

### Documentation URL (optional)

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

### Changelog URL (optional)

### Required Spec Kit Version

>=0.1.0

### Required Tools (optional)

```markdown

```

### Number of Commands

3

### Number of Hooks (optional)

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, Doubao, Tongyi, ERNIE)
- 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: check, geo-audit, data-export

### Testing Checklist

- [x] Extension installs successfully via download URL
- [x] All commands execute without errors
- [x] Documentation is complete and accurate
- [x] No security vulnerabilities identified
- [x] Tested on at least one real project

### 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

```markdown
/speckit.china-compliance.check "我们的产品是全国最好的,效果第一,国家级认证"
/speckit.china-compliance.geo-audit "你的品牌名"
/speckit.china-compliance.data-export "电商应用,收集用户姓名地址支付信息,数据存储在AWS新加坡"
```

### Proposed Catalog Entry

```json
Compliance
```

### Additional Context

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.