From c7da917efcdb884c4ee7f7ae786db4c7989211fe Mon Sep 17 00:00:00 2001 From: Jan Cinert Date: Fri, 10 Jul 2026 17:21:41 +0200 Subject: [PATCH] fixed nette-dev skill frontmatter --- composer.json | 11 ++++++++++- plugins/nette-dev/.claude-plugin/plugin.json | 2 +- plugins/nette-dev/skills/commit-messages/SKILL.md | 3 ++- .../nette-dev/skills/php-coding-standards/SKILL.md | 3 ++- plugins/nette-dev/skills/php-doc/SKILL.md | 3 ++- 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 99f2265..e32f1df 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,15 @@ "nette/tester": "^2.5" }, "scripts": { - "tester": "vendor/bin/tester tests -s" + "tester": [ + "vendor/bin/tester tests -s", + "@validate-plugins" + ], + "validate-plugins": [ + "claude plugin validate plugins/nette", + "claude plugin validate plugins/nette-lint", + "claude plugin validate plugins/nette-dev", + "claude plugin validate plugins/php-fixer" + ] } } diff --git a/plugins/nette-dev/.claude-plugin/plugin.json b/plugins/nette-dev/.claude-plugin/plugin.json index 5b29574..5cb74e4 100644 --- a/plugins/nette-dev/.claude-plugin/plugin.json +++ b/plugins/nette-dev/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "nette-dev", - "version": "1.0.7", + "version": "1.0.8", "description": "Coding standards and conventions for Nette Framework contributors", "author": {"name": "David Grudl"}, "keywords": ["php", "nette", "coding-standards", "phpdoc", "contributor"], diff --git a/plugins/nette-dev/skills/commit-messages/SKILL.md b/plugins/nette-dev/skills/commit-messages/SKILL.md index 7c1f3df..af9f7f1 100644 --- a/plugins/nette-dev/skills/commit-messages/SKILL.md +++ b/plugins/nette-dev/skills/commit-messages/SKILL.md @@ -1,6 +1,7 @@ --- name: commit-messages -description: Invoke BEFORE committing changes. Provides commit message conventions: lowercase, past tense, subject:description format. Use this skill whenever the user commits, creates commit messages, stages changes, uses /commit, tags releases, or discusses commit style - even for simple one-liner commits. +description: >- + Invoke BEFORE committing changes. Provides commit message conventions: lowercase, past tense, subject:description format. Use this skill whenever the user commits, creates commit messages, stages changes, uses /commit, tags releases, or discusses commit style - even for simple one-liner commits. --- ## Commit Message Style diff --git a/plugins/nette-dev/skills/php-coding-standards/SKILL.md b/plugins/nette-dev/skills/php-coding-standards/SKILL.md index 698c920..b2cbe6b 100644 --- a/plugins/nette-dev/skills/php-coding-standards/SKILL.md +++ b/plugins/nette-dev/skills/php-coding-standards/SKILL.md @@ -1,6 +1,7 @@ --- name: php-coding-standards -description: Invoke BEFORE writing or modifying any PHP code. Provides coding standards and naming conventions for Nette repos: TABs, single quotes, strict_types, PSR-12 modifications, use statement ordering. Use this whenever creating, modifying, or refactoring any PHP code - even small bug fixes or one-line changes. +description: >- + Invoke BEFORE writing or modifying any PHP code. Provides coding standards and naming conventions for Nette repos: TABs, single quotes, strict_types, PSR-12 modifications, use statement ordering. Use this whenever creating, modifying, or refactoring any PHP code - even small bug fixes or one-line changes. --- ## PHP Coding Standards diff --git a/plugins/nette-dev/skills/php-doc/SKILL.md b/plugins/nette-dev/skills/php-doc/SKILL.md index bf9034e..1d0143b 100644 --- a/plugins/nette-dev/skills/php-doc/SKILL.md +++ b/plugins/nette-dev/skills/php-doc/SKILL.md @@ -1,6 +1,7 @@ --- name: php-doc -description: Invoke BEFORE writing phpDoc. Provides Nette conventions for docblocks: when to skip documentation, class/method/property/exception docs, generic array types (array, list), conditional return types. Use this whenever writing or editing any /** */ comment - even when the user just says "document this" without mentioning phpDoc. +description: >- + Invoke BEFORE writing phpDoc. Provides Nette conventions for docblocks: when to skip documentation, class/method/property/exception docs, generic array and list types, conditional return types. Use this whenever writing or editing any /** */ comment - even when the user just says "document this" without mentioning phpDoc. --- ## Documentation (phpDoc)