feat(testing): restructure testing skill into a router + 8 domain leaves#31
Open
stuffbucket wants to merge 1 commit into
Open
feat(testing): restructure testing skill into a router + 8 domain leaves#31stuffbucket wants to merge 1 commit into
stuffbucket wants to merge 1 commit into
Conversation
Convert the single `testing-skill` monolith into a `testing/` family root that routes to eight focused sub-skills, mirroring the design-* / tauri-* family-root pattern already in the repo. Universal leaves (any language/runtime), each keeping multi-runtime run pointers with Bun as the center of gravity: - testing-fundamentals: placement, AAA, naming, what to test, coverage - testing-dependency-injection: inject deps instead of mocking modules - testing-mutation: mutation testing and surviving mutants - testing-contract-tests: enum/union completeness, cross-boundary parity Bun-specific leaves (the testing slice only; non-test Bun capabilities are left for a future bun-* family): - testing-bun-runner: the `bun test` runner and its idioms - testing-bun-mock-leaks: the mock.module cross-file forward-leak footgun - testing-bun-http: in-memory app.request() handler testing, no port bind - testing-bun-dom-free: DOM-free core + injected structural interfaces Root frontmatter follows the bare name+description family-root convention; leaves drop the non-conventional license key. Regenerated llms.txt and README; index.json is gitignored and rebuilt on install.
Contributor
✅ Skill Validation ReportNew skill(s): ValidationIndex build: ✅ passed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Converts the single
testing-skillmonolith into atesting/family root that routes to 8 focused sub-skills, mirroring thedesign-*/tauri-*family-root pattern already established in this repo.Why
testing-skillwas one flat page trying to cover file placement, mocking, coverage, and framework quick-refs for every language at once. Splitting it into a triage router + domain leaves lets a client load only the relevant leaf, and gives the runtime-specific footguns (Bunmock.moduleleaks, DOM-free testing) room to be thorough instead of a footnote.Structure
Root —
testing/— routing table + decision flow + cross-family edges + when-not-to-use. Barename + descriptionfrontmatter (family-root convention).Universal leaves (any language/runtime; each keeps multi-runtime run pointers with Bun as the center of gravity):
testing-fundamentals— placement, arrange-act-assert, naming, what to test, coverage philosophy. The default entry point.testing-dependency-injection— inject the filesystem/network/clock/module instead of mocking modules.testing-mutation— mutation testing and acting on surviving mutants.testing-contract-tests— enum/union completeness, cross-boundary parity, authored-but-skipped suites.Bun leaves (the testing slice only — non-test Bun capabilities are intentionally left for a future
bun-*family):testing-bun-runner— thebun testrunner and its idioms. The Bun entry point.testing-bun-mock-leaks— themock.modulecross-file forward-leak footgun.testing-bun-http— in-memoryapp.request()handler testing, no port bind.testing-bun-dom-free— DOM-free core + injected structural interfaces.Conventions & salience
name + descriptionfamily-root convention (asdesign/,tauri/); leaves drop the non-conventionallicensekey.testing-bun-*leaves (loaded only when working with Bun and testing), not in a Bun family; universal leaves keep multi-runtime pointers with Bun as the center of gravity.Validation
quick_validate.pypasses on all 9 skills;--allpasses (125 skills).markdownlint-cli2clean on the family.llms.txtandREADME.mdregenerated;index.jsonis gitignored and rebuilt on install.