Skip to content

Commit 2c682a2

Browse files
detainclaude
andcommitted
docs: keep the amended skill descriptions parseable as yaml
A skill description is an unquoted YAML scalar, so the 'NOTE: ' the amendment opened with ended the mapping early and made the whole frontmatter block unparseable. That does not fail loudly -- it makes the skill undiscoverable, which looks exactly like the skill not existing. Same sentence without the colon. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 1264b13 commit 2c682a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • .claude/skills/plugin-event-hook

.claude/skills/plugin-event-hook/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: plugin-event-hook
3-
description: Adds a new Symfony event hook to src/Plugin.php in the myadmin-virtuozzo-vps plugin. Handles registering in getHooks(), writing the static handler method with GenericEvent, service type guard, logging, and stopPropagation(). Use when user says 'add hook', 'new event handler', 'listen to event', or adds a handler method to Plugin.php. Do NOT use for modifying template files or adding template actions. NOTE: for a plugin's contract/behavioral tests (tests/ContractTest.php, the shared harness, composer myadmin:scaffold-tests) use the plugin-contract-tests skill instead — this skill's reflection-only guidance predates that harness.
3+
description: Adds a new Symfony event hook to src/Plugin.php in the myadmin-virtuozzo-vps plugin. Handles registering in getHooks(), writing the static handler method with GenericEvent, service type guard, logging, and stopPropagation(). Use when user says 'add hook', 'new event handler', 'listen to event', or adds a handler method to Plugin.php. Do NOT use for modifying template files or adding template actions. For a plugin's contract or behavioral tests (tests/ContractTest.php, the shared harness, composer myadmin:scaffold-tests) use the plugin-contract-tests skill instead — this skill's reflection-only guidance predates that harness.
44
---
55
<!-- myadmin-contract-harness-notice -->
66
> ### ⚠️ Read this before the rest of the file

0 commit comments

Comments
 (0)