Skip to content

v4.1.0: networking primitives + LLM-skill polish#4

Merged
esenmx merged 3 commits into
mainfrom
v4.1
May 21, 2026
Merged

v4.1.0: networking primitives + LLM-skill polish#4
esenmx merged 3 commits into
mainfrom
v4.1

Conversation

@esenmx

@esenmx esenmx commented May 21, 2026

Copy link
Copy Markdown
Owner

Summary

v4.1.0 release. 12 new primitives in the "Identity & networking test data" theme, plus agentic-coding-focused polish across SKILL.md, README, and a new composer recipes example. No breaking changes.

Added

  • NetworkingRand.email, Rand.ipv4, Rand.ipv6, Rand.mac, Rand.hex.
  • StringsRand.semver, Rand.otp, Rand.slug, Rand.base64.
  • CollectionsRand.enumValue<T extends Enum>, Rand.shuffled<T>.
  • GeoRand.geoPoint returning ({double lat, double lng}).

LLM-skill polish

  • example/recipes.dart — composer recipes (User, Address, Order, Paginated<T>, ChatHistory) showing how to assemble structured fixtures from flat primitives.
  • skills/dart-rand/SKILL.md — description tightened to Claude Code convention (action-verb lead, "Use when" trigger, "Skip for" negatives, ~90 tokens) + new "Common tasks" section with 10 prompt→snippet recipes.
  • README.md — consolidated "Pitfalls" table near License.
  • CHANGELOG.md — v3→v4 migration table normalized to |---|---|.

Test plan

  • dart analyze — clean
  • dart test — 74 tests pass
  • dart run example/main.dart — every method outputs
  • dart run example/recipes.dart — every recipe outputs
  • dart pub publish --dry-run — package validates (only warning was uncommitted changes, resolved by this PR)

Post-merge: tag v4.1.0, dart pub publish to pub.dev.

🤖 Generated with Claude Code

esenmx and others added 3 commits May 21, 2026 09:48
Identity & networking test data — 12 new primitives, no breaking changes.

Added
- Networking: email, ipv4, ipv6, mac, hex
- Strings: semver, otp, slug, base64
- Collections: enumValue, shuffled
- Geo: geoPoint (named record)

Polish
- example/recipes.dart — composer recipes (User, Address, Order,
  Paginated<T>, ChatHistory) for building structured fixtures on flat
  primitives
- SKILL.md description tightened to Claude Code convention
  (~140w → ~70w, action-verb lead, "Use when" trigger, "Skip for"
  negative triggers)
- SKILL.md "Common tasks" section — 10 prompt→snippet rows
- README "Pitfalls" table consolidating common traps
- CHANGELOG migration table normalized to |---|---|

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds networking, emails, weighted samples to the description.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@esenmx esenmx merged commit 1d3870b into main May 21, 2026
6 checks passed
@esenmx esenmx deleted the v4.1 branch May 21, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant