Skip to content

Commit 40a5b36

Browse files
committed
Represent mojo skill in docs + refresh v0.2.0 description
The mojo plugin was registered but never represented in generated docs: - STATIC_SKILLS lacked the mojo skill, so the architecture table counted mojo as 0 skills (AGENTS.md said 45 total while README said 46). - CATEGORY_MAP had no mojo entry and the skills-table categoryOrder omitted 'Languages', so even a mapped Languages group would not render. Fixes: - Add mojo skill to STATIC_SKILLS and map it to a new 'Languages' category; add 'Languages' to categoryOrder so it renders. - Regenerate AGENTS.md / site/content.json (mojo 0 -> 1 skill, total 45 -> 46). - List mojo in the hand-maintained README External skill plugins table. - Refresh the marketplace description to match mojo v0.2.0 (memory/copy optimization and Mojo/Python interop, not just SIMD + GPU). Pin unchanged (v0.2.0 / 4d6f5fe). All marketplace/generate-docs/readme tests pass (190); generate-docs --check is fresh.
1 parent 7fd4b3f commit 40a5b36

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
"ref": "v0.2.0",
335335
"commit": "4d6f5fe71e03380f8532a0a8419903f4f548a587"
336336
},
337-
"description": "Teach agents to write idiomatic, correct, performant, current Mojo (v1.0.0b1) - fundamentals, performance (SIMD/vectorize/parallelize), and GPU kernels; prevents stale pre-2025 syntax",
337+
"description": "Teach agents to write idiomatic, correct, performant, current Mojo (v1.0.0b1) - syntax, ownership and CPU/memory optimization (copies, SIMD, vectorize/parallelize), GPU kernels (DeviceContext/LayoutTensor), and Mojo/Python interop; prevents stale pre-2025 syntax",
338338
"version": "0.2.0",
339339
"category": "development",
340340
"homepage": "https://github.com/agent-sh/mojo"

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<!-- GEN:START:claude-architecture -->
7777
```
7878
lib/ → Shared library (vendored to plugins)
79-
plugins/ → 25 plugins, 50 agents (40 file-based + 10 role-based), 45 skills
79+
plugins/ → 25 plugins, 50 agents (40 file-based + 10 role-based), 46 skills
8080
adapters/ → Platform adapters (opencode-plugin/, opencode/, codex/)
8181
checklists/ → Action checklists (9 files)
8282
bin/cli.js → npm CLI installer
@@ -108,7 +108,7 @@ bin/cli.js → npm CLI installer
108108
| onboard | 1 | 1 | Codebase onboarding |
109109
| can-i-help | 1 | 1 | Contributor guidance |
110110
| zig-lsp | 0 | 0 | |
111-
| mojo | 0 | 0 | |
111+
| mojo | 0 | 1 | |
112112
<!-- GEN:END:claude-architecture -->
113113

114114
**Pattern**: `Command → Agent → Skill` (orchestration → invocation → implementation)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ Each command works standalone. Together, they compose into end-to-end pipelines.
169169
| Category | Skills | Plugin |
170170
|----------|--------|--------|
171171
| **Message Queues** | `glide-mq`, `glide-mq-migrate-bullmq`, `glide-mq-migrate-bee` | [agent-sh/glidemq](https://github.com/agent-sh/glidemq) |
172+
| **Languages** | `mojo` | [agent-sh/mojo](https://github.com/agent-sh/mojo) |
172173

173174
Skills are the reusable implementation units. Agents invoke skills; commands orchestrate agents. When you install a plugin, its skills become available to all agents in that session.
174175

scripts/generate-docs.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ const CATEGORY_MAP = {
6969
'onboard': 'Onboarding',
7070
'can-i-help': 'Onboarding',
7171
'audit-project': 'Code Review',
72-
'glidemq': 'Message Queues'
72+
'glidemq': 'Message Queues',
73+
'mojo': 'Languages'
7374
};
7475

7576
// Static skill definitions for cross-repo plugins (not discoverable locally)
@@ -115,6 +116,7 @@ const STATIC_SKILLS = [
115116
{ plugin: 'onboard', name: 'onboard' },
116117
{ plugin: 'can-i-help', name: 'can-i-help' },
117118
{ plugin: 'audit-project', name: 'audit-project' },
119+
{ plugin: 'mojo', name: 'mojo' },
118120
{ plugin: 'glidemq', name: 'glide-mq' },
119121
{ plugin: 'glidemq', name: 'glide-mq-migrate-bullmq' },
120122
{ plugin: 'glidemq', name: 'glide-mq-migrate-bee' },
@@ -284,7 +286,7 @@ function generateSkillsTable(skills) {
284286
const categoryOrder = [
285287
'Workflow', 'Message Queues', 'Enhancement', 'Performance', 'Cleanup',
286288
'Code Review', 'AI Collaboration', 'Onboarding',
287-
'Web', 'Release', 'Analysis', 'Memory', 'Linting', 'Other'
289+
'Web', 'Release', 'Analysis', 'Memory', 'Linting', 'Languages', 'Other'
288290
];
289291

290292
const lines = [

site/content.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"suffix": ""
3434
},
3535
{
36-
"value": "45",
36+
"value": "46",
3737
"label": "Skills",
3838
"suffix": ""
3939
},

0 commit comments

Comments
 (0)