agentsclimarketplace

Fetcher integration

Skill Ahoo-Wang/skills/plugins/ahoo-fetcher-skills/skills/fetcher-integration

A central aggregation repository for Agent Skills from Ahoo-Wang's open source projects.

Install
npx -y skills add Ahoo-Wang/skills --skill fetcher-integration

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when setting up the core Fetcher HTTP client, NamedFetcher, fetcherRegistrar, HTTP methods, path and query parameters, interceptors, timeouts, result extractors, request lifecycle, status validation, or URL templates.

SKILL.md

1.9 KB, as published. Nobody here has run it

fetcher-integration

Use This Skill When

  • The user needs a Fetcher or NamedFetcher instance configured.
  • The task involves HTTP methods, base URLs, headers, timeouts, or result extraction.
  • The task involves request, response, or error interceptors.
  • The task needs path/query parameter handling or the named fetcher registry.

Workflow

  1. Start with @ahoo-wang/fetcher before reaching for higher-level packages.
  2. Prefer NamedFetcher when the client will be reused by decorators, generated clients, or app services.
  3. Mutate FetchExchange inside interceptors; do not return a replacement exchange from intercept().
  4. Use ResultExtractors when callers need typed values instead of raw Response objects.
  5. Load references/api.md for exact method signatures, lifecycle order, or full examples.

Key Practices

  • Keep interceptors small and phase-specific: request shaping, response validation, and error recovery are separate responsibilities.
  • Use urlParams.path for template variables and urlParams.query for query strings.
  • Use validateStatus or IGNORE_VALIDATE_STATUS intentionally when non-2xx responses are part of the domain flow.

References

  • references/api.md: Detailed package API, examples, and edge-case guidance. Load it only when the task needs method signatures, interceptor ordering, URL parameter examples, error hierarchy, and complete service setup examples.

Related Skills

  • $fetcher-decorator-service: Use when services should be declared with TypeScript decorators.
  • $fetcher-openapi-generator: Use when clients should be generated from an OpenAPI document.
  • $fetcher-cosec-auth: Use when interceptors need CoSec authentication behavior.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.