fix(kyberforge): apply audit findings to agent-audit skill
Remove phantom cross-file name-match claim from SKILL.md manual fallback list (validate.sh has no such check). Fix broken bats stem-mismatch test to overwrite the Copilot file instead of the CC file, exercising the actual Copilot stem check. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0147vXtL5sP6vorDdqXGJJU9
This commit is contained in:
@@ -58,7 +58,7 @@ If a description finding is borderline, read `references/description-quality.md`
|
|||||||
|
|
||||||
**Pair consistency (cross-file):**
|
**Pair consistency (cross-file):**
|
||||||
- Both files exist — FAIL if counterpart is missing (kyberforge project convention; not a platform requirement from either CC or Copilot — label as such)
|
- Both files exist — FAIL if counterpart is missing (kyberforge project convention; not a platform requirement from either CC or Copilot — label as such)
|
||||||
- The following checks are covered automatically by `validate.sh`; apply them manually only when the script cannot run: `name` field matches between CC and Copilot files — FAIL if mismatch; both system prompt bodies non-empty — FAIL if either is empty
|
- The following checks are covered automatically by `validate.sh`; apply them manually only when the script cannot run: both system prompt bodies non-empty — FAIL if either is empty
|
||||||
|
|
||||||
## Step 3 — Report
|
## Step 3 — Report
|
||||||
|
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ EOF
|
|||||||
@test "fails when frontmatter name does not match filename stem" {
|
@test "fails when frontmatter name does not match filename stem" {
|
||||||
local dir="$TMPDIR/agents"
|
local dir="$TMPDIR/agents"
|
||||||
make_plugin_pair "$dir" "my-agent"
|
make_plugin_pair "$dir" "my-agent"
|
||||||
cat > "$dir/my-agent.md" <<EOF
|
cat > "$dir/my-agent.agent.md" <<EOF
|
||||||
---
|
---
|
||||||
name: wrong-name
|
name: wrong-name
|
||||||
description: A valid agent description.
|
description: A valid agent description.
|
||||||
|
|||||||
Reference in New Issue
Block a user