spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

[Extension]: Add china-compliance

Open lm203688 opened this issue 6 months ago • 5 comments

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)

No response

Required Spec Kit Version

=0.1.0

Required Tools (optional)


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, 豆包, 通义千问, 文心一言)
  • 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

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 (/speckit.china-compliance.check, /speckit.china-compliance.geo-audit, /speckit.china-compliance.data-export) execute correctly. API backend tested with real Chinese advertising copy - caught 23 violations in a single Douyin script that 3 human reviewers missed. extension.yml validated against spec-kit schema. Compatible with 30+ AI coding agents via specify integration.

Example Usage

# After running specify init my-project --integration copilot

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

{
  "id": "china-compliance",
  "name": "China Compliance Extension",
  "version": "1.0.0",
  "description": "Chinese advertising law, AI search visibility, and cross-border data compliance for SDD",
  "author": "lm203688",
  "repository": "https://github.com/lm203688/spec-kit-china-compliance",
  "download": "https://github.com/lm203688/spec-kit-china-compliance/archive/refs/tags/v1.0.0.zip",
  "license": "MIT"
}

Additional Context

No response

lm203688 avatar May 29 '26 06:05 lm203688

cc @github/spec-kit-maintainers — new catalog submission for review.

github-actions[bot] avatar May 29 '26 06:05 github-actions[bot]

cc @github/spec-kit-maintainers — new catalog submission for review.

github-actions[bot] avatar May 29 '26 06:05 github-actions[bot]

Missing LICENSE file

The submission declares MIT, but the repository does not contain a LICENSE file. A LICENSE file is required per the Extension Publishing Guide.

Could you add a LICENSE file (MIT) to the repository? We'll proceed with the catalog entry once it's in place. Thanks!

mnriem avatar May 30 '26 12:05 mnriem

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Sep 11 '26 00:09 github-actions[bot]

This issue has been automatically closed after 90 days without activity. To request reconsideration, please provide updated reproduction details, the currently affected version or environment, and the present impact. Ask a maintainer to reopen this issue if it is fundamentally the same problem. If the scope or reproduction has materially changed, create a new issue, link this one, and explain what has changed.

github-actions[bot] avatar Oct 11 '26 01:10 github-actions[bot]