Skip to content

Feat/claude skill package#13

Merged
derek-palmer merged 4 commits into
mainfrom
feat/claude-skill-package
May 16, 2026
Merged

Feat/claude skill package#13
derek-palmer merged 4 commits into
mainfrom
feat/claude-skill-package

Conversation

@derek-palmer
Copy link
Copy Markdown
Owner

@derek-palmer derek-palmer commented May 16, 2026

Summary by CodeRabbit

  • New Features

    • Added Claude and Codex plugin integrations with metadata configuration.
    • Introduced skill distribution framework with defined packaging layouts.
  • Documentation

    • Updated README to reflect current prompt-based execution model and roadmap progress.
    • Enhanced specification with interface placeholders and expanded architecture details.
    • Added comprehensive distribution design documentation and roadmap clarifications.
  • Chores

    • Added Codeforerunner Source-Available License.

Review Change Stack

  Implements SPEC §T13. Plugin metadata at
  plugins/codeforerunner/.codex-plugin/plugin.json mirrors upstream
  caveman shape (skills glob + interface block). Skill body at
  plugins/codeforerunner/skills/codeforerunner/SKILL.md is byte-equal
  to agent/codeforerunner.skill.md post-frontmatter content per §V10.

  - Rename design doc §"Proposed Layout" → §"Package Layout"; annotate
    layout block with per-task impl status (T13 done, T14/T15 planned).
  - Drop resolved Open Decision bullet on build-time vs checked-in
    skill files; T13 picked checked-in.
  - Add LICENSES/LicenseRef-Codeforerunner-SAL-0.1.txt mirroring root
    LICENSE.md so REUSE-spec scanners resolve the custom license ref
    used in plugin.json.
  - Mark T13 done in SPEC and roadmap.

  Closes T13.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 16, 2026

Warning

Rate limit exceeded

@derek-palmer has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 48 minutes and 8 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e1f87fef-6e82-44c7-bf12-aec56f0352ae

📥 Commits

Reviewing files that changed from the base of the PR and between 2c911a4 and 36e567e.

📒 Files selected for processing (6)
  • SPEC.md
  • agent/codeforerunner.skill.md
  • docs/agent-distribution-design.md
  • plugins/codeforerunner/skills/codeforerunner/SKILL.md
  • scripts/validate_skill_copies.py
  • skills/codeforerunner/SKILL.md
📝 Walkthrough

Walkthrough

This PR establishes the foundational distribution infrastructure for Codeforerunner by introducing a canonical skill instruction, Claude and Codex plugin manifests, a source-available license, and formal specification of the skill contract alongside concrete distribution design documentation.

Changes

Skill Distribution and Plugin Manifests

Layer / File(s) Summary
License and Plugin Manifests
LICENSES/LicenseRef-Codeforerunner-SAL-0.1.txt, .claude-plugin/plugin.json, plugins/codeforerunner/.codex-plugin/plugin.json
Codeforerunner Source-Available License v0.1 establishes usage constraints (no standalone commercial offering, attribution required). Claude and Codex plugin manifests define name, version 0.1.0, author, license reference, and plugin-specific interface metadata including skills directory, capabilities, and default prompt.
Canonical Skill Instruction
skills/codeforerunner/SKILL.md
Defines when the skill activates, required pre-task inputs (file tree, manifests, configs, existing docs), context layer composition (system rules, output rules, stack hints), and per-run workflow (scan → match task prompt → enforce output contracts). Establishes safety constraints: ground claims in repo evidence, respect forerunner.config.yaml, forbid claims about non-existent runtime surfaces (CLI/MCP/Docker/PyPI), and require ## Gaps reporting when evidence is insufficient. Sets ownership boundary requiring downstream variants to preserve post-frontmatter body verbatim.
Codex Skill Distribution
plugins/codeforerunner/skills/codeforerunner/SKILL.md
Codex-specific skill artifact that preserves the canonical instruction body exactly as defined, adding only agent-specific metadata per the ownership boundary contract.
Agent Skill Contract Updates
agent/codeforerunner.skill.md
References updated specification (SPEC.md V10) and distribution design docs. Clarifies workflow step references and formalizes downstream packaging requirement to preserve verbatim content while routing through canonical prompt pack rather than duplicating product logic.
Specification Formalization
SPEC.md
Converts section-heading formats to Markdown conventions (## G, ## I, ## P, ## T, ## B). Adds explicit interface placeholders for skill/plugin artifacts (I.skill-plugin) and future surfaces (CLI, MCP, hooks). Extends P4 tasks to include distribution design authoring, canonical skill source definition, Codex/Claude plugin packaging, and installer/marketplace/install-support work.
Distribution Design Documentation
docs/agent-distribution-design.md
Specifies Package Layout with Codex and Claude slices marked as implemented and planned generic installer assets. Expands Installer Behavior to include Codex marketplace entry creation and Claude discovery path registration. Clarifies Claude Code requires .claude-plugin/plugin.json and skills/codeforerunner/SKILL.md at repo root without silently generating docs. Adds validation expectations for Codex marketplace fields and Claude artifact placement. Refines Open Decisions to address generic distribution copying strategy.
Project Documentation Updates
README.md, docs/roadmap.md
README Current State enumerates agent plugin/skill artifacts and clarifies "paste or attach" execution model without packaged runtime. Adds reference to docs/agent-distribution-design.md. Updates P4 roadmap status from "Todo" to "In progress" with expanded scope covering Codex/Claude packaging completion and installer work. Roadmap P4 marks Codex/Claude plugin packaging as Done while noting installer/marketplace/install-support remains in progress.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • derek-palmer/codeForerunner#11: Both PRs update the same canonical skill contract—SPEC.md (I.agent-skill/V10) and agent/codeforerunner.skill.md—to define verbatim-preservation and packaging/activation behavior for downstream Codex/Claude skill/plugin distributions.
  • derek-palmer/codeForerunner#8: Both PRs update the same distribution/packaging documentation surfaces—SPEC.md, README.md/roadmap, and docs/agent-distribution-design.md—to define the skill/plugin packaging/installer work that the main PR then implements via new Claude/Codex plugin manifests and canonical SKILL.md artifacts.
  • derek-palmer/codeForerunner#9: Both PRs modify the same spec/docs areas—especially SPEC.md (skill/plugin distribution design phases/tasks) and associated README.md/distribution-design documentation—driving the same Claude/Codex packaging workflow described in the main PR.

Poem

🐰 Hop-flutter through the manifests so neat,
Skill instructions now in canonical beat,
Claude and Codex plugins sit in place,
Distribution happens at a graceful pace!
Verbatim preservation guards the way—
Forerunner docs thrive another day.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title refers to Claude skill packaging but the changeset covers multiple aspects: Claude and Codex plugin manifests, a custom license, comprehensive skill documentation, distribution design updates, and roadmap refinements. The title is partially related to the main changes but undersells the broader scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/claude-skill-package
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch feat/claude-skill-package

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

♻️ Duplicate comments (2)
plugins/codeforerunner/skills/codeforerunner/SKILL.md (2)

76-76: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Clarify Claude vs. generic distribution paths.

Line 76 lists both "Claude" and "generic" as using skills/codeforerunner/SKILL.md, which is confusing. Per docs/agent-distribution-design.md, Claude distribution is implemented at that path while generic distribution is proposed. The text should clarify whether they share the same file or use distinct paths.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@plugins/codeforerunner/skills/codeforerunner/SKILL.md` at line 76, The
sentence conflates "Claude" and "generic" distributions by implying they both
use the same SKILL.md; update the wording so it explicitly states that the
Claude distribution uses the implemented SKILL.md for Claude and that the
generic distribution is a proposed/alternative SKILL.md (i.e., clarify whether
they share a single SKILL.md or require distinct SKILL.md files), and adjust the
text to name the two distribution types ("Claude distribution" and "generic
distribution") so readers know which path is implemented vs. proposed.

6-8: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Clarify canonical source designation.

This file claims to be "the canonical instruction source" but SPEC.md (line 25, I.agent-skill) designates agent/codeforerunner.skill.md as the canonical source. According to the review context, this file is the Codex distribution copy.

Distribution copies should clarify their relationship to the canonical source to prevent maintainers from editing distribution files instead of the source.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@plugins/codeforerunner/skills/codeforerunner/SKILL.md` around lines 6 - 8,
Update the top matter and first paragraph in the document titled "#
codeforerunner Skill — Canonical Source" to clearly mark this file as a
distribution/codex copy and not the authoritative source: mention that the true
canonical instruction source is the agent skill referenced by SPEC.md's
I.agent-skill entry and instruct maintainers to edit the canonical agent skill
document instead of this distribution copy; ensure the wording replaces or
augments "the **canonical instruction source**" so readers aren’t misled and
include a short note pointing to SPEC.md I.agent-skill for the authoritative
location.
🧹 Nitpick comments (1)
agent/codeforerunner.skill.md (1)

1-83: 🏗️ Heavy lift

Verify downstream file synchronization mechanism.

This file is designated as the canonical skill source per SPEC.md I.agent-skill and V10. The distributed variants (skills/codeforerunner/SKILL.md and plugins/codeforerunner/skills/codeforerunner/SKILL.md) must preserve this file's post-frontmatter content verbatim.

All three files currently have identical content, but there's no visible mechanism (script, CI check, or installer) ensuring the distribution files stay synchronized with changes to this canonical source. Manual synchronization is error-prone.

Consider adding validation (e.g., in CI or via a doctor command) to detect drift between the canonical source and distribution copies.

Would you like me to generate a validation script that can detect content drift between the canonical source and distribution files?

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@agent/codeforerunner.skill.md` around lines 1 - 83, The canonical skill file
codeforerunner.skill.md is required to be verbatim across distributed copies
(skills/codeforerunner/SKILL.md and
plugins/codeforerunner/skills/codeforerunner/SKILL.md) but there is no
automation detecting drift; add a validation that compares the post-frontmatter
body of codeforerunner.skill.md against the two distributed SKILL.md files and
fails CI on mismatch (or expose as a doctor command). Implement the check as a
script/CI job that: reads and strips frontmatter from the canonical file and the
two target files, performs a normalized comparison (trim, unify line endings),
and returns a non-zero exit code with a clear message if any differences exist;
reference SPEC.md V10 in the job description and include the three filenames in
the check so maintainers can locate the affected files.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@skills/codeforerunner/SKILL.md`:
- Line 76: The sentence listing downstream files is ambiguous about whether
Claude's distribution and the proposed generic distribution share the same
skills/codeforerunner/SKILL.md path; update the text in SKILL.md to explicitly
state whether the Claude distribution (referenced by .claude-plugin/plugin.json
+ skills/codeforerunner/SKILL.md) is the canonical implemented file and the
generic distribution will reuse that same path in T15, or if the generic
distribution will have a separate path (specify the distinct path) — edit the
clause that mentions "Claude `.claude-plugin/plugin.json` +
`skills/codeforerunner/SKILL.md` and generic `skills/codeforerunner/SKILL.md`"
to clearly indicate one of the two options and, if separate, name the
alternative path and update docs/agent-distribution-design.md references
accordingly.
- Around line 6-8: Change the misleading header and description in the SKILL.md
distribution copy: replace the heading "# codeforerunner Skill — Canonical
Source" with something like "# codeforerunner Skill — Distributed Copy" and
update the description paragraph that currently calls this file "the canonical
instruction source" to clearly state that this is a distribution copy and that
the authoritative canonical source is "agent/codeforerunner.skill.md" (as
referenced in SPEC.md I.agent-skill); keep the rest of the content verbatim per
spec.

---

Duplicate comments:
In `@plugins/codeforerunner/skills/codeforerunner/SKILL.md`:
- Line 76: The sentence conflates "Claude" and "generic" distributions by
implying they both use the same SKILL.md; update the wording so it explicitly
states that the Claude distribution uses the implemented SKILL.md for Claude and
that the generic distribution is a proposed/alternative SKILL.md (i.e., clarify
whether they share a single SKILL.md or require distinct SKILL.md files), and
adjust the text to name the two distribution types ("Claude distribution" and
"generic distribution") so readers know which path is implemented vs. proposed.
- Around line 6-8: Update the top matter and first paragraph in the document
titled "# codeforerunner Skill — Canonical Source" to clearly mark this file as
a distribution/codex copy and not the authoritative source: mention that the
true canonical instruction source is the agent skill referenced by SPEC.md's
I.agent-skill entry and instruct maintainers to edit the canonical agent skill
document instead of this distribution copy; ensure the wording replaces or
augments "the **canonical instruction source**" so readers aren’t misled and
include a short note pointing to SPEC.md I.agent-skill for the authoritative
location.

---

Nitpick comments:
In `@agent/codeforerunner.skill.md`:
- Around line 1-83: The canonical skill file codeforerunner.skill.md is required
to be verbatim across distributed copies (skills/codeforerunner/SKILL.md and
plugins/codeforerunner/skills/codeforerunner/SKILL.md) but there is no
automation detecting drift; add a validation that compares the post-frontmatter
body of codeforerunner.skill.md against the two distributed SKILL.md files and
fails CI on mismatch (or expose as a doctor command). Implement the check as a
script/CI job that: reads and strips frontmatter from the canonical file and the
two target files, performs a normalized comparison (trim, unify line endings),
and returns a non-zero exit code with a clear message if any differences exist;
reference SPEC.md V10 in the job description and include the three filenames in
the check so maintainers can locate the affected files.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 78ccc7ca-71fc-4969-aab9-9399f4219b09

📥 Commits

Reviewing files that changed from the base of the PR and between 038579e and 2c911a4.

📒 Files selected for processing (10)
  • .claude-plugin/plugin.json
  • LICENSES/LicenseRef-Codeforerunner-SAL-0.1.txt
  • README.md
  • SPEC.md
  • agent/codeforerunner.skill.md
  • docs/agent-distribution-design.md
  • docs/roadmap.md
  • plugins/codeforerunner/.codex-plugin/plugin.json
  • plugins/codeforerunner/skills/codeforerunner/SKILL.md
  • skills/codeforerunner/SKILL.md

Comment thread skills/codeforerunner/SKILL.md Outdated
Comment thread skills/codeforerunner/SKILL.md Outdated
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.

1 participant