stacdev/stac

stac-custom-extensions

Scaffold and integrate custom Stac widgets and actions with parsers and registration checks. Use when users ask to build new StacParser or StacActionParser implementations, generate custom model classes, or verify parser registration inside Stac.initialize.

First seen Feb 9, 2026

Installation

$ npx skills add stacdev/stac --skill stac-custom-extensions

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from stacdev/stac.

npx skills add stacdev/stac

Browse all from stacdev/stac

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 920
License LICENSE
Default branch main
Open issues 15
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,901 B
  • docs SUMMARY.md 287 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 77 installs

SKILL.md

Stac Custom Extensions

Overview

Use this skill to add custom widgets/actions that serialize cleanly and register correctly in a Stac app.

Workflow

  1. Choose extension type: widget or action.
  2. Scaffold model and parser files with scripts.
  3. Add generated files to app codebase and run codegen.
  4. Verify parser registration in main.dart.
  5. Validate runtime wiring with a minimal usage example.

Required Inputs

  • PascalCase extension name.
  • Runtime type id (type or actionType).
  • Output directory for generated files.
  • Path to main.dart for registration check.

Output Contract

  • Produce model + parser pair with consistent type ids.
  • Include registration snippet for Stac.initialize.
  • Include build_runner command when json serialization is used.

References

  • Read references/custom-widget-checklist.md for widget model/parser flow.
  • Read references/custom-action-checklist.md for action model/parser flow.
  • Read references/parser-registration.md for initialization wiring.
  • Read references/converters-guide.md for converter usage patterns.

Scripts

  • scripts/scaffoldcustomwidget.py --name <Name> --type <widgetType> --out-dir <path>
  • scripts/scaffoldcustomaction.py --name <Name> --action-type <actionType> --out-dir <path>
  • scripts/checkparserregistration.py --main-dart <path> --parser-class <ClassName>

Templates

  • assets/templates/custom_widget.dart.tmpl
  • assets/templates/customwidgetparser.dart.tmpl
  • assets/templates/custom_action.dart.tmpl
  • assets/templates/customactionparser.dart.tmpl