Use extensions liberally where it improves brevity and reduces the amount of code. - To write Union/Sum types, always use TaggedRecord only and avoid freezed. Use example/lib/tagged_record.dart as a r
Imported from purplenoodlesoop/pure (SKILL.md). Install upstream with npx skills add purplenoodlesoop/pure. Copyright stays with the author.
Use extensions liberally where it improves brevity and reduces the amount of code.
To write Union/Sum types, always use TaggedRecord only and avoid freezed. Use example/lib/tagged_record.dart as a reference.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/purplenoodlesoop-pure-pure/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
purplenoodlesoop-pure-pure.ocm.jsonjson
{
"ocm": "1",
"id": "purplenoodlesoop-pure-pure",
"kind": "skill",
"name": "pure",
"description": "Use extensions liberally where it improves brevity and reduces the amount of code. - To write Union/Sum types, always use TaggedRecord only and avoid freezed. Use example/lib/tagged_record.dart as a reference.",
"publisher": "purplenoodlesoop",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Use extensions liberally where it improves brevity and reduces the amount of code. - To write Union/Sum types, always use TaggedRecord only and avoid freezed. Use example/lib/tagged_record.dart as a reference."
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/purplenoodlesoop/pure",
"path": "SKILL.md",
"ref": "0e12ea6282287801efe83a02e2dd13b4028338ab",
"url": "https://github.com/purplenoodlesoop/pure/blob/0e12ea6282287801efe83a02e2dd13b4028338ab/SKILL.md",
"key": "purplenoodlesoop/pure/SKILL.md"
}
},
"instructions": "- Use extensions liberally where it improves brevity and reduces the amount of code.\n- To write Union/Sum types, always use TaggedRecord only and avoid freezed. Use example/lib/tagged_record.dart as a reference.",
"cost": {
"context_tokens": 52
}
}
Fetch it by URL: GET /api/v1/registry/purplenoodlesoop-pure-pure/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.