skillhub/openspec/changes/add-skill-presentation-fields/tasks.md
XiaoSeS d6a76e5fe8 feat(publish): refine skill presentation editing and package upload
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
2026-11-05 11:19:48 +08:00

3 KiB

Tasks

  • Add SKILL.md metadata parsing and validation.
  • Add multipart publish fields and package-preview defaults.
  • Snapshot presentation fields in parsed metadata and update effective published summary.
  • Preserve original description in search text and keep pending updates isolated.
  • Add automated inheritance, reset/default, rollback, approval, promotion and rerelease coverage.
  • Regenerate OpenAPI types and update CLI usage documentation.
  • Add detail-page overview projection.
  • Use Overview, Skill instructions, Files and Versions tabs, with rendered/source original instructions.
  • Add read-only historical-version selection, URL history, notices and return to latest published.
  • Add regression coverage for unavailable versions, asynchronous loading and keyboard focus.

Publish form and editor

  • Implement A1 desktop/sidebar and mobile settings-before-introduction layout.
  • Place package selection before basic information and presentation, with avatar preceding the display name.
  • Keep a single overview editor entry at the field header and a read-only form preview.
  • Integrate visual/Markdown/preview editing with same-origin assets, recoverable syntax and cancel/apply behavior.
  • Use direct summary editing and actual-value changes to create independent custom fields.
  • Confirm per-field restore-to-package actions and preserve default-following behavior after package replacement.
  • Require effective web introduction values without making optional CLI/API metadata mandatory.
  • Implement accessible empty/selected/reading/rejected upload states and recoverable replacements.
  • Preserve shared upload hints for Suite Bundle and isolate skill-specific package requirements.
  • Prevent cross-resource cached snapshots and late package responses from populating a different form.
  • Implement mutually exclusive submission progress, actual-status receipts and actionable recovery without automatic replay.
  • Preserve readonly, avatar-only updates, staged-avatar state and existing publication permissions.
  • Verify frontend types/lint/tests/build, documentation build and responsive browser workflows.

Full-PR acceptance

  • Revalidate single-field CLI/API inheritance independently of the web form's complete payload.
  • Revalidate reviewer visibility of the effective custom summary and overview before approving a version.
  • Complete the final-head lifecycle, rollback, promotion, search and access-control acceptance matrix.

The completed items record implementation and automated or scoped browser coverage. They do not imply that the full PR is accepted or merge-ready. Native OS IME, physical drag-and-drop, system file-dialog cancellation and real Safari remain separate manual checks. Browser-generated drag events and fault-injected responses must be reported separately from real OS and backend behavior. Local preview provenance, test commands and remaining findings belong to the validation report rather than this formal checklist.