Skip to content
Agentmart
Submit a tool

web-data-fetching

Frontend data-fetching patterns for fetch API, loading/error states, retries, cancellation, and API config.

Skill by tickets-tool

IndexedMIT
Write a review

Install

Works with Claude Code. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tomicassanelli-web-data-fetching

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Frontend data-fetching patterns for fetch API, loading/error states, retries, cancellation, and API config. Trigger: Modifying frontend API calls or adding loading/error handling.

Use cases: frontend, backend, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/web-data-fetching

Tools it pre-approves 7

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read,
  • Edit,
  • Write,
  • Glob,
  • Grep,
  • Bash,
  • Task

What's inside

Skill name
web-data-fetching
Description
Frontend data-fetching patterns for fetch API, loading/error states, retries, cancellation, and API config. Trigger: Modifying frontend API calls or adding loading/error handling.
License
MIT
Allowed tools
Read,, Edit,, Write,, Glob,, Grep,, Bash,, Task
Metadata
author: tickets-tool · version: 1.0
Instructions
19 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands
  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Base Pattern

```typescript
const res = await fetch(url, options)
if (!res.ok) {
  const payload = await res.json().catch(() => ({}))
  throw new Error(payload.detail || `HTTP ${res.status}`)
}
const data = await res.json()
```

## Rules

- Always expose loading and error UI states.
- Keep base URL in `NEXT_PUBLIC_API_URL`.
- Use `AbortController` for cancellable requests when needed.
- Avoid duplicated fetch logic; extract helper when repeated.

From TomiCassanelli/tickets-tool, MIT.

Signals

Stars
0
Forks
0
Open issues
2
Last commit (this folder)
Mar 23, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tickets-tool

Cite this page

web-data-fetching skill. Agent Mart. https://agentmart.dev/skills/tomicassanelli-web-data-fetching (last updated 2026-10-24)