timothy191/arch-systems-portal/frontend-api-integration-patterns

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Production-ready patterns for frontend API integration: cancellation, retry, debounce, dedup, error normalization with @repo/errors. Use when building or reviewing async data fetching in apps/portal. Anti-trigger: do not duplicate ApiError locally; do not retry 4xx; do not skip AbortController cleanup.

Install

npx vskill@latest install timothy191/arch-systems-portal/frontend-api-integration-patterns

SKILL.md

Frontend API Integration Patterns

Correctness-first async patterns for the Arch Systems portal. Load references as needed — do not inline duplicate error types.

When to use

  • New hooks or components fetching from APIs
  • Reviewing race conditions, stale data, or retry logic
  • Normalizing errors across portal and API

Workflow

  1. Read `references/repo-mapping.md` — use existing @repo/errors, never redefine
  2. Apply patterns from `references/core-patterns.md`
  3. Check `references/anti-patterns.md` before merge
  4. See `references/examples.md` for full implementations

References

FileContent
`references/repo-mapping.md`This repo's modules and imports
`references/core-patterns.md`API layer, cancellation, retry, debounce, dedup
`references/examples.md`Prediction, search, optimistic UI
`references/best-practices.md`Practices and pitfalls tables
`references/anti-patterns.md`SAP violations to avoid
`references/limitations.md`React Query / idempotency notes

Assets

No static templates required — patterns are TypeScript reference implementations in references/.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/timothy191/arch-systems-portal/frontend-api-integration-patterns/badge)](https://verified-skill.com/skills/timothy191/arch-systems-portal/frontend-api-integration-patterns)

Something wrong with this skill or its page? Tell us.