Skip to content

chore: format skill.json and update claw-release to 0.0.5#266

Open
davida-ps wants to merge 2 commits into
mainfrom
claude/nifty-brown-bp80vr
Open

chore: format skill.json and update claw-release to 0.0.5#266
davida-ps wants to merge 2 commits into
mainfrom
claude/nifty-brown-bp80vr

Conversation

@davida-ps

@davida-ps davida-ps commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

User description

Opener Type

  • Agent (automated)

Summary

Bump claw-release to version 0.0.5, apply consistent JSON formatting to skill.json, and replace the hardcoded skills table in SKILL.md with a dynamic enumeration command.

Changes Made

  • Bumped version from 0.0.4 to 0.0.5 in skill.json and SKILL.md frontmatter
  • Reformatted skill.json with consistent indentation and line breaks for improved readability and maintainability
  • Replaced static skills table in SKILL.md with a bash command that dynamically enumerates skills from the repository, preventing documentation drift
  • Added guidance that skill metadata (category, internal flag) should be sourced from each skill's own skill.json rather than a centralized list

Related Issues

None


Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Security incident (please open a Security Incident Report issue instead of a PR)

Testing

No testing needed. Changes are formatting and documentation updates. Version bump follows semver conventions and is reflected in both required locations (skill.json and SKILL.md frontmatter), which is enforced by CI.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my changes
  • I have added tests that prove my fix/feature works
  • New and existing tests pass locally

https://claude.ai/code/session_014y5bVUCYtowdjUCEG4EZPw


Generated description

Below is a concise technical summary of the changes proposed in this PR:
Update skill metadata by bumping claw-release to version 0.0.5 and applying consistent formatting to skill.json. Replace the static skills listing in SKILL.md with a dynamic enumeration script that derives category and internal flags from each skill’s metadata.

TopicDetails
Skill metadata update Improve skill.json formatting and raise claw-release to version 0.0.5 so the skill metadata reflects the latest release.
Modified files (1)
  • skills/claw-release/skill.json
Latest Contributors(2)
UserCommitDate
noreply@anthropic.comchore(claw-release): b...June 11, 2026
david.a@prompt.securityci(skills): publish re...June 10, 2026
Dynamic skills listing Replace the hardcoded skills table in SKILL.md with a bash loop that enumerates each repository skill, pulling category and internal flags from its skill.json metadata.
Modified files (1)
  • skills/claw-release/SKILL.md
Latest Contributors(2)
UserCommitDate
noreply@anthropic.comchore(claw-release): b...June 11, 2026
david.a@prompt.securityci(skills): publish re...June 10, 2026
Review this PR on Baz | Customize your next review

Comment on lines +247 to +253
for f in skills/*/skill.json; do
jq -r '"\(.name)\t\(.openclaw.category // "-")\tinternal=\(.openclaw.internal // false)"' "$f"
done
```

Each skill's category and internal flag are the source of truth in its own
`skills/<name>/skill.json` (`.openclaw.category` and `.openclaw.internal`).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jq hardcodes .openclaw.category / .openclaw.internal for every skills/*/skill.json, but some manifests use picoclaw/hermes/nanoclaw, so the generated list shows -/false; should we derive the platform key from .platform or enumerate per-platform manifests instead of assuming openclaw?

Severity

Want Baz to fix this for you? Activate Fixer

Other fix methods

Fix in Cursor

Prompt for AI Agents
Before applying, verify this suggestion against the current code. In
skills/claw-release/SKILL.md around lines 247-253, the “Existing Skills” enumeration
command uses jq fields `.openclaw.category` and `.openclaw.internal` for every
`skills/*/skill.json`, which breaks for manifests that store metadata under other
platform sections (e.g., `picoclaw`, `hermes`, `nanoclaw`). Refactor that snippet to
derive the platform key dynamically from `.platform` (or enumerate per-platform blocks)
and then read `category` and `internal` from that derived section; if the platform key
is missing, fall back to safe defaults while still not hardcoding `openclaw`. Update the
nearby explanatory text to match the new logic so the generated list accurately reflects
each skill’s real metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants