Add universal skills-creator package with scaffold and validator#4
Draft
Add universal skills-creator package with scaffold and validator#4
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the legacy create-skill guidance with a production-ready, platform-agnostic skills-creator package that aligns with the refined structure and lifecycle.
scripts/scaffold.pyenforces naming rules and generates SKILL/eval scaffolds;scripts/validate.pychecks frontmatter, naming/description limits, line counts, reference depth, and eval counts.Example (scaffold + validate):
Original prompt
I would like to refine and level up the create-skills.
Read below analyses:
"""
Now I have the complete picture from Anthropic's official docs. Here is the fully refined, production-perfect
skills-creatorpackage.Final Folder Structure
SKILL.mdNaming rules (Anthropic spec):
processing-pdfs,analyzing-logs,managing-gitanthropic,claude,helper,utils,toolsnamefield in frontmatterMinimum valid output structure:
Phase 3 — Author SKILL.md
Frontmatter
Only
nameanddescriptionare required. Add optional fields onlywhen they provide genuine value:
Description formula
"Extracts tables from PDFs. Use when the user shares a PDF.""I can help with PDFs"— first person"Analyzes CSV data and generates reports. Use when...""A helpful CSV tool"— no triggerBody structure
Calibrate instruction style to task fragility:
run extract.py --mode auto --output jsonpython3 scripts/run.py --strict. Do not modify."Standard section order:
BigQuery:bigquery_schema)references/Progress checklist for multi-step tasks:
Progressive disclosure rules