SuperAPI AI Directory

custom-skills-dev

Coding & development

View repository

Updated 10-16 05:42

About this skill

custom-skills-dev

ai-dev's framework and first-party skills are split into two public repositories. Before starting, confirm the target; do not modify content in the wrong repository.

Repository ownership

Repository Responsible content
ValorVie/custom-skills ai-dev CLI, commands, agents, plugins, project-template, OpenSpec, upstream configuration and upstream/npx-skills.yaml
ValorVie/ai-dev-skills npx skills installable first-party skills/<canonical-id>/, direct skill testing and collection validator

First-party skill content must not be copied back into the framework repository. Whether the ai-dev baseline adopts a given skill is explicitly determined by the framework's upstream/npx-skills.yaml .

Runtime flow

ai-dev install
  tools → repos → npx-skills → targets

ai-dev update tools → repos → npx-skills


- `npx-skills` 安裝或更新第一方與第三方 global skills。
- `targets` 只分發仍由 framework 管理的 commands、agents、workflows、plugins,以及明確保留 clone ownership 的來源。
- ECC 白名單 skills 與 custom repo skills 仍可由 clone 管理;不得與 npx-managed canonical ID 同名。

完整 ownership 與路徑見 [copy-architecture.md](references/copy-architecture.md)。

## 修改 ai-dev framework

1. 在 `ValorVie/custom-skills` checkout 確認現有 dirty files 與 active OpenSpec change。
2. 修改 `script/`、`commands/`、`agents/`、`plugins/`、`project-template/` 或 `upstream/` 中的必要檔案。
3. 為使用者可見行為更新 OpenSpec delta、測試與正式文件。
4. 使用目前 checkout 執行測試,不使用可能過時的已安裝 `ai-dev`。
5. framework release 只提交 framework 範圍,不夾帶另一個 repository 的 skill content。

新增 CLI command 的細節見 [cli-development.md](references/cli-development.md)。

## 新增或修改第一方 skill

1. 在 `ValorVie/ai-dev-skills` 的 `skills/<canonical-id>/` 修改內容。
2. 目錄名必須與 `SKILL.md` frontmatter `name` 相同。
3. 主要流程需要的 scripts、references、assets、templates、evals 與直接測試必須留在 skill root 內。
4. 執行 repository validator、skill 直接測試及 npx discovery:

```bash
python tests/validate_skills.py
DISABLE_TELEMETRY=1 npx --yes skills@1.5.22 add . --list
  1. A new skill only enters the baseline after the ai-dev maintainer updates upstream/npx-skills.yaml . Wildcards must not be used for automatic adoption.

Modify npx baseline

In ValorVie/custom-skills:

  1. first use npx skills add <repo> --list to confirm the source and canonical IDs.
  2. Check for sources with the same name, agent paths, and existing local modifications.
  3. In upstream/npx-skills.yaml explicitly add the repository and skill names.
  4. Update the npx manifest, install/update, list, toggle, and migration tests.
  5. dry-run must not execute npx, write locks, or clean up ownership.

Release

The two repositories are released separately, verified separately, and committed separately.ai-dev-skills must first have a readable known-good revision before ai-dev can reference it.

Any repository creation, release, tag, or push must follow the current project authorization; ordinary documentation or code changes do not automatically authorize remote mutation.

For framework release details, see release-workflow.md。

Language

  • Human-facing documentation uses Traditional Chinese, while technical identifiers retain their original form.
  • Commit messages use Conventional Commits with a Traditional Chinese summary.
  • Public content must not contain internal brands, repositories, hosts, accounts, credential locations, private paths, or organization-specific processes.