/bitwild-team-kit:ackfrom bitwild-team-kit
Use 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.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Start at the caller. Identify the input the application receives, the Dart value it needs, and whether another consumer expects that value to encode back to a particular wire format.
Read the consuming package’s constraints and the workspace lockfile. Use .dart_tool/package_config.json to locate the resolved ack and, for generated models, ack_generator sources. For a Git or path override, read the guides from that checkout. For a hosted release, follow the matching tag’s llms.txt. When adding Ack to a new project, check SDK compatibility and respect the project's stable or prerelease policy. Published releases · Ack 1.7.1 guide index · Ack 2.0.0-beta.3 guide index
safeParse when invalid input is an expected outcome. Branch on isOk or isFail before reading the value or error. Preserve the field-level error information the caller needs.<file>.ack.dart and <file>.ack.g.dart. The 2.0.0-beta.3 generator uses one <file>.g.dart and supports JsonMaybe<T> on a class field to preserve omitted, explicit-null, and populated values. Run dart run build_runner build from the consuming package and test the model’s parse and encode entry points. Generated constructors accept unchecked values.For example, this schema accepts an omitted delivery note, an explicit null, or a string. A quantity of zero fails at the boundary.
import 'package:ack/ack.dart';
final orderSchema = Ack.object({
'quantity': Ack.integer().min(1),
'note': Ack.string().optional().nullable(),
});
void main() {
final result = orderSchema.safeParse({'quantity': 0});
if (result.isFail) {
final error = result.getError();
if (error is SchemaNestedError) {
for (final field in error.errors) {
print(field.path);
}
} else {
print(error.path);
}
}
}
Exercise a valid payload and the smallest invalid payload that demonstrates the rule. For a PATCH endpoint, also test omitted and explicit-null fields through the handler. For a codec or generated model, parse and encode a known input and compare the resulting wire payload. Run the project's analyzer and focused tests, and report which boundary they exercised.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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./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./