alfredoperez/angular-best-practices · Archived

angular-best-practices-tanstack

>- TanStack Query best practices for Angular. Covers query/mutation patterns, cache invalidation, and query key factories for server state management. Activates when working with @tanstack/angular-query-experimental. Do not use for NgRx Effects, manual HTTP caching, or RxJS-based server state. Install alongside angular-best-practices for full coverage.

First seen Feb 9, 2026

Installation

$ npx skills add alfredoperez/angular-best-practices --skill angular-best-practices-tanstack

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from alfredoperez/angular-best-practices · top by installs.

npx skills add alfredoperez/angular-best-practices

Browse all from alfredoperez/angular-best-practices

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 37
License MIT
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.2.0
LicenseMIT
More metadata
author
alfredoperez
version
1.2.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,991 B
  • docs AGENTS.md 1,025 B
  • docs SUMMARY.md 390 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 213 installs

SKILL.md

Angular TanStack Query Best Practices

TanStack Query rules for server state with automatic caching, deduplication, and background refetching. Use with the core angular-best-practices skill for comprehensive Angular coverage.

Links

When to Apply

  • Fetching data from APIs with injectQuery
  • Performing mutations with cache invalidation
  • Structuring query keys for hierarchical invalidation

Rules

Rule Impact Description
Know When to Use TanStack Query MEDIUM Server state (APIs) vs client state (signals)
Use Query Key Factories MEDIUM Consistent key structure for hierarchical invalidation

Install

Install from skills.sh/alfredoperez/angular-best-practices: