ztg-tanstack-query
Consult and safely integrate TanStack/query for Async server-state and mutation architecture. Preserve RTL, responsive accessibility, dependency and license controls.
SKILL.mdskills/ztg-tanstack-query/SKILL.md
GitHubGitHub research guide: TanStack/query
Origin: https://github.com/TanStack/query
Expected value: Async server-state and mutation architecture.
Rights flag: MIT. Do not treat this as license verification for a particular file or release.
How to use this upstream project without MCP
- Inspect the actual task and determine whether
querysupplies a feature not already present in the Perfect_AI pack. Do not import a whole GitHub repository merely to satisfy a trend. - Check the original repo's README, release history, LICENSE, install guide and installed dependency versions at the time of work.
- Read the upstream implementation and extract only the necessary design principle or, with license compliance, the needed source component.
- Prefer official registry or npm install commands over arbitrary
curl | bashscripts. Preserve project lockfiles, make changes in a branch, review generated diffs and dependencies. - Adapt design to real UI contexts: 320px container, desktop, RTL Persian, LTR English, reduced motion, input from touch and keyboard, true page content and honest metrics.
- Ensure observable behavior is tested in an actual browser. Document what was implemented and which upstream source was only consulted.
Integration brief
- Desired value: Async server-state and mutation architecture.
- Fallback: semantic HTML with CSS; no JS-only critical UI.
- Style: honor user color and typography brief, specifically strict monochrome on Perfect_AI.
- Animation owners: never let two libraries animate the same
transformindependently. - Accessibility: keyboard actions, readable text, visible focus, correct labels, and state-independent semantics.
- Cleanup: remove event handlers, dispose GPU assets, stop animations on unmount, handle React Strict Mode.
Required acceptance
- Source inspected; exact upstream revision identified.
- License and any non-MIT restrictions considered.
- Only task-relevant portions integrated and attribution preserved as needed.
- Independent compile/build and browser QA completed.
- No MCP, no remote execution without human review.
- Report source and changed files, actual testing evidence and open risks.
Classification: locally authored integration guidance, not a vendored original GitHub skill or codebase.