Skip to content

chenchaotao666/cangjie-dev-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cangjie Dev Skill

License: MIT Cangjie Version

AI Agent skill for Cangjie (仓颉) programming language development.

Installation

全局安装

安装到所有项目中生效:

npx skills add chenchaotao666/cangjie-dev-skill --yes --global

项目安装

仅在当前项目中生效:

npx skills add chenchaotao666/cangjie-dev-skill

Features

  • Syntax Assistance: Complete Cangjie language syntax reference
  • API Documentation: Standard library API with examples
  • Code Generation: Generate idiomatic Cangjie code
  • Project Templates: Quick project scaffolding
  • Best Practices: Code style and design patterns
  • HarmonyOS Support: Guidance for HarmonyOS app development

Supported AI Agents

This skill works with:

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Gemini
  • And 12+ other AI agents

Auto Activation

The skill automatically activates when:

  • Working with .cj files (Cangjie source code)
  • Detecting cjpm.toml (Cangjie package configuration)

What's Included

Directory Content
docs/syntax/ Language syntax documentation
docs/stdlib/ Standard library API reference
docs/tools/ cjpm, cjfmt, cjlint usage guides
docs/examples/ Code examples and templates

Development

Setup

# Clone the repository
git clone https://github.com/chenchaotao666/cangjie-dev-skill.git
cd cangjie-dev-skill

# Sync documentation from CangjieCorpus
npm run sync

# Build AGENTS.md
npm run build

# Validate structure
npm run validate

Scripts

Command Description
npm run sync Sync docs from CangjieCorpus
npm run build Generate AGENTS.md
npm run validate Validate skill structure

Documentation Source

Documentation is sourced from CangjieCorpus, a high-quality knowledge base for Cangjie language.

License

  • Skill code: MIT
  • Documentation content: CC-BY-4.0 (from CangjieCorpus)

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors