Skip to content

Commit 32d45db

Browse files
committed
docs: add Motoko category to schema, CONTRIBUTING, and fix stale Icons.tsx reference
1 parent 5e46e6b commit 32d45db

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,6 @@ The website auto-generates from SKILL.md frontmatter — no need to edit any sou
241241

242242
Use an existing category when possible. The validator warns on unknown categories to catch typos, but new categories are not blocked.
243243

244-
Current categories: **Auth**, **Core**, **DeFi**, **Frontend**, **Governance**, **Infrastructure**, **Integration**, **Security**
244+
Current categories: **Auth**, **Core**, **DeFi**, **Frontend**, **Governance**, **Infrastructure**, **Integration**, **Motoko**, **Security**
245245

246-
To add a new category: update the enum in `skills/skill.schema.json` and the icon in `src/components/Icons.tsx`.
246+
To add a new category: update the description string in `skills/skill.schema.json`, the `KNOWN_CATEGORIES` array in `scripts/check-project.js`, and the `CATEGORY_ORDER` array in `src/lib/skills.ts`.

skills/skill.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"category": {
3737
"type": "string",
3838
"minLength": 1,
39-
"description": "Skill category for browsing/filtering. Use an existing category when possible: Auth, Core, DeFi, Frontend, Governance, Infrastructure, Integration, Security."
39+
"description": "Skill category for browsing/filtering. Use an existing category when possible: Auth, Core, DeFi, Frontend, Governance, Infrastructure, Integration, Motoko, Security."
4040
}
4141
},
4242
"additionalProperties": false

0 commit comments

Comments
 (0)