Skip to content
Agentmart
Submit a tool

builderx_spa-api

Standardized API fetching for BuilderX SPA using useApiget, useApipost, useApiDelete, and useApiProgress from @/composable/fetch.

Skill by Vũ Lưu

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vuluu2k-builderx-spa-api

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

Standardized API fetching for BuilderX SPA using useApiget, useApipost, useApiDelete, and useApiProgress from @/composable/fetch. Covers GET/POST requests, file uploads, and progress tracking. Use this skill when making network requests in the builderx_spa project.

Use cases: backend

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/builderx-spa-api

What's inside

Skill name
builderx_spa-api
Description
Standardized API fetching for BuilderX SPA using useApiget, useApipost, useApiDelete, and useApiProgress from @/composable/fetch. Covers GET/POST requests, file uploads, and progress tracking. Use this skill when making network requests in the builderx_spa project.
License
MIT
Metadata
author: Vũ Lưu · source: Hand-written based on builderx_spa source code · version: 2026.3.23
Instructions
60 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed

Files (3)

  • SKILL.md
  • base-api.md · references/
  • fetch.md · references/

SKILL.md (first lines)

# BuilderX SPA API Wrapper

> Always use the built-in HTTP composables instead of using `axios` directly.

## Core

| Topic | Description | Reference |
|-------|-------------|-----------|
| Fetching Data | `useApiget`, `useApipost`, `useApiDelete`, `useApiProgress` | [fetch](references/fetch.md) |
| Class-based API | `BaseApi` class, extending REST controllers in `@/api` | [base-api](references/base-api.md) |

## Quick Reference

### 1. The Class-based API approach (Preferred for CRUD)
Used when interacting with standard REST resources. Classes exist inside `src/api/` (Core API) and `src/api/landing/` (Landing Page API).

```javascript
import productApi from '@/api/productApi'
import landingPageApi from '@/api/landing/pageApi'

// List resources (calls base implementation)
const res = await productApi.list({ site_id: 123, limit: 10 })
const landingRes = await landingPageApi.list({ limit: 10 })


// Call custom endpoints defined in the child class
const customRes = await productApi.getProductsBuild({ search: 'shirt' })
```

### 2. The Composable approach (For one-off requests)
```javascript
import { useApiget, useApipost } from '@/composable/fetch'

export default {
  methods: {
    async fetchUsers() {
      const url = `${import.meta.env.VITE_BUILDERX_API_URL}/api/v1/users`
      // Returns a resolved axios response. Data is usually inside res.data.data
      const res = await useApiget(url, { page: 1 })
      console.log(res.data.data)
    },
    async saveProfile(payload) {
      const url = `${import.meta.env.VITE_BUILDERX_API_URL}/api/v1/update_account`
      // Signature: url, params (query string), body
      await useApipost(url, null, payload)
    }
  }
}
```

### File Uploads (No Progress Bar)
```javascript
const formData = new FormData()
formData.append('file', fileObject)

// Provide headers as the 4th argument
await useApipost(url, null, formData, { 'Content-Type': 'multipart/form-data' })
```

From vuluu2k/skills, MIT.

More from vuluu2k/skills

Signals

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

From GitHub (fetched Oct 24, 2026).

Details

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

More from Vũ Lưu

Cite this page

builderx_spa-api skill. Agent Mart. https://agentmart.dev/skills/vuluu2k-builderx-spa-api (last updated 2026-10-24)