Skip to content

Commit e70ef69

Browse files
committed
fix: normalize skill frontmatter names to match directory slugs
Work around opencode bug (anomalyco/opencode#7080) where the skill tool error message shows numeric indices instead of names. When the LLM guesses the kebab-case directory name instead of a Title Case frontmatter name, the lookup fails and the broken error message prevents self-correction. Normalizing names to directory slugs avoids triggering the error path entirely.
1 parent 3a045e2 commit e70ef69

11 files changed

Lines changed: 19 additions & 9 deletions

File tree

‎.opencode/skills/automated-updates/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Automated Updates
2+
name: automated-updates
33
description: How the devbox automatically updates llm-agents (claude-code) via GitHub Actions and systemd timers. Use when debugging update failures or understanding the update flow.
44
---
55

‎.opencode/skills/configuring-neovim/SKILL.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
name: configuring-neovim
3+
description: Patterns for safely testing nvim configuration changes in this NixOS/home-manager setup. Use when modifying or debugging Neovim config.
4+
---
5+
16
# Testing and Debugging Neovim Config
27

38
Patterns for safely testing nvim configuration changes in this repo. For adding new config files, see [growing-nvim-config](../growing-nvim-config/SKILL.md).

‎.opencode/skills/managing-secrets/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Managing Secrets
2+
name: managing-secrets
33
description: How secrets are stored, decrypted, and used on the devbox. Use when adding, removing, or debugging secrets.
44
---
55

‎.opencode/skills/rebuilding-devbox/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Rebuilding the Devbox
2+
name: rebuilding-devbox
33
description: This skill covers how to apply configuration changes to the devbox, including full rebuilds with nixos-anywhere. Use this when you need to update the system or recover from issues.
44
---
55

‎.opencode/skills/scrubbing-company-references/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Scrubbing Company References
2+
name: scrubbing-company-references
33
description: Policy for keeping org-identifying metadata out of public source. Use when adding new config, writing skill docs, or reviewing for company references before committing.
44
---
55

‎.opencode/skills/setting-up-cloudbox/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Setting Up Cloudbox (GCP ARM)
2+
name: setting-up-cloudbox
33
description: Guide for provisioning the cloudbox GCP VM from scratch with nixos-anywhere. Use when rebuilding the cloudbox or setting up a new GCP ARM instance.
44
---
55

‎.opencode/skills/setting-up-crostini/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Setting Up Crostini (ChromeOS Linux)
2+
name: setting-up-crostini
33
description: Guide for setting up a Chromebook Crostini container with Nix and home-manager. Use when provisioning a new Chromebook or recovering from a container reset.
44
---
55

‎.opencode/skills/understanding-workstation/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Understanding Workstation Config
2+
name: understanding-workstation
33
description: This skill explains the workstation monorepo structure, how NixOS (devbox) and nix-darwin (macOS) are organized with standalone home-manager, and how to navigate the configuration. Use this when onboarding or trying to understand how either platform is configured.
44
---
55

‎assets/claude/skills/fetching-atlassian-content/SKILL.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
name: fetching-atlassian-content
3+
description: Export Confluence pages and Jira tickets to local Markdown files with image attachments via Neovim. Use when fetching content from Atlassian for local use.
4+
---
5+
16
# Fetching Atlassian Content
27

38
Export Confluence pages and Jira tickets to local Markdown files with image attachments via Neovim.

‎assets/opencode/skills/cleaning-bazel-monorepo-disk/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Cleaning Bazel Monorepo Disk
2+
name: cleaning-bazel-monorepo-disk
33
description: Reclaim disk space in Bazel monorepo development environments. Covers Bazel caches, Docker, Nix store/generations, and package manager caches. Use when disk space is low or for regular maintenance. Works on both macOS and cloudbox (NixOS).
44
---
55

0 commit comments

Comments
 (0)