fix: clean up README and add .gitignore
- Translate Quick Deploy section from Chinese to English - Fix repo slug from my-skills to arkts_skills - Add --skill flag usage examples for single skill install - Update directory tree to match actual repo structure - Add .gitignore for temp files, OS files, and editor files - Remove junk temp files from working tree
This commit is contained in:
18
.gitignore
vendored
Normal file
18
.gitignore
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Temp files
|
||||||
|
*.tmp
|
||||||
|
*.bak
|
||||||
|
*~
|
||||||
|
|
||||||
|
# OS files
|
||||||
|
Thumbs.db
|
||||||
|
Desktop.ini
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# Editor files
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
||||||
61
README.md
61
README.md
@@ -33,6 +33,35 @@ Build, package, and deploy HarmonyOS applications.
|
|||||||
- hdc device installation
|
- hdc device installation
|
||||||
- Troubleshooting common errors
|
- Troubleshooting common errors
|
||||||
|
|
||||||
|
## Quick Deploy
|
||||||
|
|
||||||
|
Use [skills.sh](https://skills.sh/) to deploy skills to your project with a single command.
|
||||||
|
|
||||||
|
### Install all skills
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx skills add FadingLight9291117/arkts_skills
|
||||||
|
```
|
||||||
|
|
||||||
|
### Install a single skill
|
||||||
|
|
||||||
|
You can install a specific skill from this repo using the `--skill` flag:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx skills add https://github.com/FadingLight9291117/arkts_skills --skill harmonyos-build-deploy
|
||||||
|
npx skills add https://github.com/FadingLight9291117/arkts_skills --skill arkts-development
|
||||||
|
```
|
||||||
|
|
||||||
|
Or search for skills on [skills.sh](https://skills.sh/) and run the corresponding install command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx skills add <owner/repo>
|
||||||
|
```
|
||||||
|
|
||||||
|
Once installed, the skill is automatically configured for your AI agent (supports OpenCode, Cursor, Claude Code, Copilot, and other major agents).
|
||||||
|
|
||||||
|
> No additional CLI installation required — `npx` downloads and runs it automatically. To disable anonymous telemetry, set the environment variable `DISABLE_TELEMETRY=1`.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
These skills are automatically loaded by OpenCode when relevant tasks are detected. The AI agent uses the skill documentation to:
|
These skills are automatically loaded by OpenCode when relevant tasks are detected. The AI agent uses the skill documentation to:
|
||||||
@@ -45,22 +74,22 @@ These skills are automatically loaded by OpenCode when relevant tasks are detect
|
|||||||
## Repository Structure
|
## Repository Structure
|
||||||
|
|
||||||
```
|
```
|
||||||
skills/
|
AGENTS.md # Guidelines for AI agents
|
||||||
├── AGENTS.md # Guidelines for AI agents
|
README.md # This file
|
||||||
├── README.md # This file
|
arkts-development/
|
||||||
├── arkts-development/
|
├── SKILL.md
|
||||||
│ ├── SKILL.md
|
├── assets/
|
||||||
│ ├── assets/
|
│ ├── component-template.ets
|
||||||
│ │ ├── component-template.ets
|
│ └── list-page-template.ets
|
||||||
│ │ └── list-page-template.ets
|
└── references/
|
||||||
│ └── references/
|
├── api-reference.md
|
||||||
│ ├── api-reference.md
|
├── arkguard-obfuscation.md
|
||||||
│ ├── codelinter.md
|
├── codelinter.md
|
||||||
│ ├── component-patterns.md
|
├── component-patterns.md
|
||||||
│ ├── hstack.md
|
├── hstack.md
|
||||||
│ ├── hvigor-commandline.md
|
├── hvigor-commandline.md
|
||||||
│ └── migration-guide.md
|
└── migration-guide.md
|
||||||
└── harmonyos-build-deploy/
|
harmonyos-build-deploy/
|
||||||
├── SKILL.md
|
├── SKILL.md
|
||||||
└── references/
|
└── references/
|
||||||
└── device-installation.md
|
└── device-installation.md
|
||||||
|
|||||||
Reference in New Issue
Block a user