/bitwild-team-kit:dartpad-examplesfrom bitwild-team-kit
Use when creating, simplifying, documenting, or verifying self-contained Dart and Flutter examples for DartPad. Use for copy-paste teaching snippets and small interactive package showcases, including Mix examples; not for general application architecture.
Ships in bitwild-team-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create examples that teach one recognizable idea, run from a single pasted file, and expose the package's useful API without surrounding application machinery. When revising an approved example, preserve its appearance and interaction unless the user explicitly changes them.
main(), and no project-relative files or undeclared assets.build(), not
merely above its return statement. Use top-level values for fixed styles and
small functions with explicit inputs for state-dependent styles. In build(),
obtain the styles and compose their callable widgets. Keep constraint- or
context-dependent calculations in the scope that owns those inputs; avoid a
style registry or helper class just to enforce this layout.trackOnColor; a reused literal white can be
whiteColor. Introduce tokens and themes only when they teach the concept or
are genuinely required by the widgets.WidgetsApp fits a custom Flutter-only control;
Material widgets and integration can justify MaterialApp. The app color
property does not paint its background; use a background widget as needed.
Icons alone do not require MaterialApp. Check text metrics, TextField/Material
ancestors, localization and overlays before removing the shell. Prefer explicit
demo typography when small; retain a minimal Material shell when recreating its
behavior would be more complex. A white background is a design choice, not a
cleanup requirement.Use the available Mix skill for API details and inspect the target package. For DartPad, the deployed package version and the snippet's teaching scope take precedence over local-only APIs or general application-level token guidance.
track(children: [travel(child: thumb())]).style.wrap(.scale(x: scale, y: 1 / scale)). The leading member must actually
be a constructor/static factory on the inferred type in the target version.
For instance-only methods, start with .new(): Mix 2.1.0 supports
.onHovered(.new().wrap(.opacity(0.5))), not .onHovered(.wrap(...)).
Preserve transform modifier order when shortening syntax.KeyframeTrack<double> explicit when it clarifies the animated value.
Read it with values.get<double>('squish'). One string ID does not justify an
enum; use a shared constant if repeated IDs become a maintenance problem..animate() and
.keyframeAnimation() does not combine independent animations. Separate
travel and shape widgets when both must animate independently.Pressable
provides button semantics and does not accept semanticsRole. For a custom
switch, an outer Semantics(label: ..., toggled: ..., onTap: ...) with
Pressable(excludeFromSemantics: true, onPress: ...) avoids the duplicate
button role. Recheck the API for other versions. Apply the same role-ownership
check to checkboxes (checked) and selections; ordinary buttons can retain
Pressable semantics. Inspect the resulting semantics tree, not just wrapper
properties. If visible child text already supplies the label, do not repeat
it on the outer Semantics node; alternatively exclude the redundant child
semantics. Assert the final merged label appears once. Report pre-existing
role/action defects and repair them when in
scope; preserving a defect is not proof of accessibility correctness./// documentation for public functions and widgets:
a concise summary sentence, then only the explanation a reader needs.[symbol] links for relevant Dart identifiers and backticks for code.main() without the gallery harness. Compare text metrics and appearance;
inherited gallery dependencies can hide standalone failures.https://stable.api.dartpad.dev/api/v3: GET /version,
POST /analyze, and POST /compileDDC, with {"source": "..."} for POSTs.
Treat endpoints as discoverable implementation details, not permanent APIs.Finish with the source location, the important simplifications, behavior changes if any, and exactly which environments passed. Do not imply that compilation proves runtime behavior or that local tests prove published-package compatibility.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub btwld/agent-plugins --plugin bitwild-team-kit40 skills in this plugin
/accessibility-reviewUse when checking an interface against accessibility criteria with explicit scope and evidence. Use relevant browser, native, or design tools to inspect behavior; a screenshot-only review cannot establish full conformance./ackUse when a Dart or Flutter project uses package:ack and needs to validate untrusted input, define a schema or bidirectional codec, generate an Ack model, import or export JSON Schema, or migrate between Ack versions. Also use when the user explicitly asks to adopt Ack for one of these tasks./architectureUse when choosing, evaluating, or remembering a technical design decision: technology selection, component boundaries, data ownership, or a chosen API contract. Give a concise recommendation and its reason, main trade-off, and conditions for reconsideration. Use clean-sheet-review to reopen an existing solution's whole framing, deep-code-review for code defects, and ordinary execution for an approved implementation.Other plugins' skills for the same job