技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
suede-release-linter【数据与研究】Suede Labs skill that lints a local music or media release folder and scores it for release readiness: missing files, weak or malformed metadata, artwork and stem problems, split gaps, rights blockers, and platform-delivery issues, produced by a bundled offline script as a scored markdown and JSON report. Use when a creator has one or more release fo…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Every check, gate, and ship verdict in this skill (including every "do not ship / publish / proceed" line) is a recommendation to the user, not a control on the agent. Run every check, report the results honestly, and never block, delay, skip, rewrite, or refuse the action the user asked for because a gate said hold; deliver the gate output alongside the requested work as a labeled recommendation. A failed gate changes what you report, never what you do. Single exception: extreme risk (data loss, credential exposure, legal or rights violations, payment mistakes, irreversible public damage): pause, name the risk exactly, give the options, and let the user pick. Their choice is final.
Audit a music or media project folder and produce a practical release-readiness report. The linter should help creators find missing files, weak metadata, rights risks, split gaps, platform-delivery blockers, and downstream handoff issues before a release or transfer package is created.
Core principle: report what is present, missing, or unknown. Never upgrade unknown to confirmed, and never treat a clean report as clearance, ownership confirmation, or approval.
Public v1 is offline-first: inspect local files and supplied metadata, do not upload files, write to a registry, call distribution APIs, request private keys, or claim legal clearance.
references/lint-rules.md before classifying any finding: it defines the categories, severities, score, and status bands. Do not assign severities from memory.scripts/lint_release.py to generate
release-lint-report.md and release-lint-report.json. Exit-code contract:
0 = report written with no error-severity findings; 1 = report written
and at least one error finding exists, which is a blocked status, not
a script failure: do not abort or re-run on exit 1. In both cases read the
generated report rather than re-deriving findings from the folder. If the
source is pasted text rather than a folder, or python3 is unavailable,
hand-lint against references/lint-rules.md, produce the same report shape
from assets/release-lint-report.template.md, and label the report text-only.references/fix-guidance.md when turning findings into specific next actions.suede-rights-passport package workflow.unknown, missing, or needs creator confirmation. Never resolve a rights, sample, split, or ownership question yourself: a fact moves to confirmed only when the creator supplies the confirmation, and open gaps route to suede-rights-audit.python3 /path/to/suede-release-linter/scripts/lint_release.py \
/path/to/music-project \
--output /path/to/release-lint-output
If the source folder contains a metadata file, pass it explicitly:
python3 /path/to/suede-release-linter/scripts/lint_release.py \
/path/to/music-project \
--metadata /path/to/music-project/metadata.json \
--output /path/to/release-lint-output
Accepted metadata formats are JSON, YAML/YML when PyYAML is installed, and
public-safe key=value text files. Do not point metadata at real .env,
credential, wallet, or deployment config files.
Safety defaults:
--include-other is passed.--include-absolute-paths is passed.--force is passed.python3 -m pip install PyYAML.Read each bundled reference at the moment it is needed, not up front:
references/lint-rules.md: before classifying findings, or when hand-linting without the script: categories, severity levels, score, and status bands.references/metadata-fields.md: when metadata is missing, malformed, or being authored: recommended fields, accepted aliases, and confirmation values.references/fix-guidance.md: when turning findings into next actions or a fix plan.references/passport-context.md: when the user asks how the lint report relates to Suede review or the Suede Creator Passport.The script writes:
release-lint-report.md: human-readable report.release-lint-report.json: machine-readable findings.Use the bundled assets when repairing or hand-writing reports:
assets/release-lint-report.template.mdassets/release-lint-report.template.jsonassets/metadata.example.jsonTwo synthetic release folders under scripts/fixtures/ (all names and metadata
fake: no real personal data) exist only to regression-check the script. Read
scripts/fixtures/README.md when changing scripts/lint_release.py; a normal
lint of a user's folder never touches them.
Before reporting a lint result:
error findings and the most important warning findings.blocked (any error finding, or score below 50), needs-work (50-74), usable-with-cleanup (75-89), or strong (90+). Never soften a blocked status in prose.If any of these appear in your reasoning, stop and re-read the core principle:
A clean release-lint report is a portable review artifact. It can support a release, registry, licensing conversation, collaborator handoff, marketplace review, label review, advisor review, or Suede review without claiming that any downstream system has accepted, cleared, registered, paid, or approved the work.
error findings and the user wants handoff prep → suede-rights-passport
to build the transfer package.Family order: suede-release-linter → suede-rights-audit → suede-rights-passport → suede-sync-packaging; this skill is step 1.