Agent skill

Faasjs API Jobs

by faasjs in faasjs/faasjs

A skill your agent uses when building or reviewing FaasJS backend APIs and jobs: .api.ts files, defineApi, zod params schemas, HttpError, HTTP helpers, middleware/staticHandler, .job.ts files…

MITAuto-check passedProductivity & Automation

Install Faasjs API Jobs

skills CLI
$ npx skills add faasjs/faasjs --skill faasjs-api-jobs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install faasjs/faasjs faasjs-api-jobs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/faasjs/faasjs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/faasjs-api-jobs .claude/skills/faasjs-api-jobs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
faasjs-api-jobs
GitHub stars
121
Token cost
~653 tokens
SKILL.md length
270 words
Files
8 (incl. references)
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when building or reviewing FaasJS backend APIs and jobs: .api.ts files, defineApi, zod params schemas, HttpError, HTTP helpers, middleware/staticHandler, .job.ts files…

  • Works in 5 steps: Keep API and job files inside the… → Define external input schemas at the… → Use HttpError with explicit status codes… → …
  • Reviewing FaasJS backend APIs and jobs: .api.ts files
  • SKILL.md covers Default Workflow, Load These References, Gotchas and Validation
  • Calls npx

What it does

Faasjs API Jobs is an agent skill from faasjs/faasjs. Use when building or reviewing FaasJS backend APIs and jobs: .api.ts files, defineApi, zod params schemas, HttpError, HTTP helpers, middleware/staticHandler, .job.ts files, defineJob, typed job paths and params, enqueueJob including transaction-coupled enqueueing, cron schedulers, retries, leases, workers, discovery, and job tests.

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/guidelines/define-api.md`, `references/guidelines/http-plugin.md` and `references/guidelines/job-scheduling-and-retries.md`).

It sits in Productivity & Automation, covering Scheduled and recurring tasks and Forms and validation. It works with Zod. The repository describes itself as: 🚀 FaasJS is an agent-friendly full-stack TypeScript framework for building predictable, type-safe applications with minimal dependencies. The licence is MIT.

When your agent uses it

  • Reviewing FaasJS backend APIs and jobs: .api.ts files
  • Zod params schemas
  • Middleware/staticHandler
  • Typed job paths and params

Example prompts

  • “/faasjs-api-jobs”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Keep API and job files inside the feature slice that owns the behavior.
  2. Define external input schemas at the boundary and keep business input visible as params.key.
  3. Use HttpError with explicit status codes for expected API failures; reserve plain Error for internal failures.
  4. Use injected HTTP helpers for cookies, sessions, headers, status, body, and content type.
  5. Treat jobs as at-least-once execution, make enqueueing explicit, and keep generated paths aligned with runtime discovery.

What it can do on your machine

Read from SKILL.md and the folder at commit 8136384. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Faasjs API Jobs loads about 653 tokens when it runs, and up to ~9k if it reads all its reference files. Until then it costs about 87 tokens; SKILL.md has 270 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~653
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from faasjs/faasjs at commit 8136384, republished under its MIT licence (© faasjs). 270 words, ~653 tokens.

Download SKILL.mdSave it as .claude/skills/faasjs-api-jobs/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
faasjs-api-jobs
description
Use when building or reviewing FaasJS backend APIs and jobs: .api.ts files, defineApi, zod params schemas, HttpError, HTTP helpers, middleware/staticHandler, .job.ts files, defineJob, typed job paths and params, enqueueJob including transaction-coupled enqueueing, cron schedulers, retries, leases, workers, discovery, and job tests.

FaasJS API And Jobs

Default Workflow

  1. Keep API and job files inside the feature slice that owns the behavior.
  2. Define external input schemas at the boundary and keep business input visible as params.key.
  3. Use HttpError with explicit status codes for expected API failures; reserve plain Error for internal failures.
  4. Use injected HTTP helpers for cookies, sessions, headers, status, body, and content type.
  5. Treat jobs as at-least-once execution, make enqueueing explicit, and keep generated paths aligned with runtime discovery.

Load These References

  • .api.ts, defineApi, schemas, params, errors, injected fields, and type generation: references/guidelines/define-api.md.
  • Cookies, sessions, response helpers, and HTTP plugin config: references/guidelines/http-plugin.md.
  • Static file serving and middleware: references/guidelines/middleware.md.
  • .job.ts, defineJob, enqueueJob, process ownership, and transaction-coupled enqueueing: references/guidelines/jobs.md.
  • Generated job paths, params types, typegen, duplicate paths, and discovery roots: references/guidelines/job-types-and-paths.md.
  • Cron expressions, scheduler deduplication, retries, attempts, and lease expiry: references/guidelines/job-scheduling-and-retries.md.
  • Direct handler, queue, worker, scheduler, transaction, type, and discovery tests: references/guidelines/job-testing.md.

Gotchas

  • Destructure only the top-level handler context, such as handler({ params }); do not destructure business fields from params.
  • Run npx faas types after adding, renaming, moving, or removing .api.ts or .job.ts files; ordinary handler edits do not change path declarations.
  • Do not cast dynamic strings to generated job paths or keep transaction clients after their callbacks.
  • Check user, tenant, organization, project, role, or permission scope before reading or mutating data.
  • Do not log secrets, tokens, passwords, cookies, full sensitive payloads, or unredacted third-party responses.

Validation

  • Run focused API or job tests with vp test <pattern>.
  • Run npx faas types after API or job path topology changes.
  • Run vp check --fix before handoff when backend files changed.

© faasjs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in skills/faasjs-api-jobs of faasjs/faasjs.

  • SKILL.md
  • references/guidelines/define-api.md
  • references/guidelines/http-plugin.md
  • references/guidelines/job-scheduling-and-retries.md
  • references/guidelines/job-testing.md
  • references/guidelines/job-types-and-paths.md
  • references/guidelines/jobs.md
  • references/guidelines/middleware.md

Open the folder on GitHubat commit 8136384

Compare with similar skills

Faasjs API Jobs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Faasjs API Jobs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Faasjs API Jobs this skillfaasjs/faasjs121—~653Automated safety check: PassMIT
Inngest Nextjs Patternspproenca/dot-skills215—~1.4kAutomated safety check: NotesMIT
Nuxt Contentsecondsky/claude-skills227—~4.3kAutomated safety check: PassMIT
Sillytavern Runtime DebugLiarMTTT/TavernWeave153—~3.5kAutomated safety check: PassCustom licence
Generate Sample Databitovi/ai-enablement-prompts121—~916Automated safety check: PassMIT
Typescript Patternssoftspark/ai-toolkit179—~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Inngest Nextjs Patterns

    pproenca/dot-skills

    Inngest event-driven functions in a Next.js (App Router) project — creating the client, the /api/inngest route handler, typed events with Zod schemas, durable event-triggered functions, scheduled…

    215 GitHub stars~1.4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Nuxt Content

    secondsky/claude-skills

    Nuxt Content v3 Git-based CMS for Markdown/MDC content sites.

    227 GitHub stars~4.3k tokensUpdated 11 days ago
    Frontend & DesignAuto-check passed
  • Sillytavern Runtime Debug

    LiarMTTT/TavernWeave

    Reproduce, diagnose, collect execution evidence for, and close acceptance of rolecard behavior inside a real SillyTavern runtime using any capable browser driver.

    153 GitHub stars~3.5k tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Generate Sample Data

    bitovi/ai-enablement-prompts

    Generate mock/sample data from Zod schemas for testing, development, and mocks.

    121 GitHub stars~916 tokensUpdated 28 days ago
    Testing & QAAuto-check passed
  • Typescript Patterns

    softspark/ai-toolkit

    TypeScript types: generics, discriminated unions, Zod, satisfies, branded types.

    179 GitHub stars~1.6k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Data Validation

    aiskillstore/marketplace

    A skill your agent uses when implementing data validation for API payloads, form inputs, or database writes.

    430 GitHub stars~4.5k tokensUpdated today
    Frontend & DesignAuto-check passed

More from faasjs/faasjs

All 8 skills in this repo
  • Faasjs Pg

    faasjs/faasjs

    A skill your agent uses when working with @faasjs/pg or PostgreSQL in FaasJS: Tables declaration merging, QueryBuilder, select aliases, parameterized sql expressions, raw SQL, numeric/decimal/bigint…

    121 GitHub stars~718 tokensUpdated 1 mo ago
    Auto-check passed
  • A skill your agent uses when building or reviewing FaasJS plugins and runtime infrastructure: Plugin lifecycle hooks including concurrent mount and failed-mount retry behavior, InvokeData mutation…

    121 GitHub stars~500 tokensUpdated 1 mo ago
    Auto-check: notes
  • A skill your agent uses when creating, configuring, reviewing, or onboarding a FaasJS project; working with create-faas-app, vp CLI, TypeScript or Vite config, feature folders, file and naming…

    121 GitHub stars~577 tokensUpdated 1 mo ago
    Auto-check passed
  • A skill your agent uses when building or reviewing FaasJS React UI, especially @faasjs/ant-design pages, useFaas, useFaasStream, faas requests, CRUD screens, Table faasData, Description faasData…

    121 GitHub stars~693 tokensUpdated 1 mo ago
    Auto-check passed
  • A skill your agent uses when working in any FaasJS repo and no narrower FaasJS skill is already selected, or when a task spans project conventions, validation gates, security boundaries, and…

    121 GitHub stars~741 tokensUpdated 1 mo ago
    Auto-check passed
  • Faasjs Specs

    faasjs/faasjs

    A skill your agent uses when implementing, reviewing, or verifying normative FaasJS runtime behavior and compatibility for faas.yaml, staged config discovery and merge order, zero-mapping route…

    121 GitHub stars~444 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Faasjs API Jobs

What does Faasjs API Jobs do?

A skill your agent uses when building or reviewing FaasJS backend APIs and jobs: .api.ts files, defineApi, zod params schemas, HttpError, HTTP helpers, middleware/staticHandler, .job.ts files…. Faasjs API Jobs is an agent skill from faasjs/faasjs.ts files, defineJob, typed job paths and params, enqueueJob including transaction-coupled enqueueing, cron schedulers, retries, leases, workers, discovery, and job tests.

When should I use Faasjs API Jobs?

Faasjs API Jobs fits situations like: reviewing FaasJS backend APIs and jobs: .api.ts files; zod params schemas; middleware/staticHandler; typed job paths and params.

How do I install Faasjs API Jobs in Claude Code?

Run `npx skills add faasjs/faasjs --skill faasjs-api-jobs -a claude-code`. Or copy the skill folder (skills/faasjs-api-jobs in faasjs/faasjs) into .claude/skills/faasjs-api-jobs in your project. Claude Code loads it when a task matches its description.

How do I install Faasjs API Jobs in Codex?

Run `npx skills add faasjs/faasjs --skill faasjs-api-jobs -a codex`. Or copy the skill folder (skills/faasjs-api-jobs in faasjs/faasjs) into .agents/skills/faasjs-api-jobs in your project. Codex loads it when a task matches its description.

Can I use Faasjs API Jobs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add faasjs/faasjs --skill faasjs-api-jobs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/faasjs-api-jobs, .gemini/skills/faasjs-api-jobs, .github/skills/faasjs-api-jobs and .opencode/skills/faasjs-api-jobs in your project.

What does Faasjs API Jobs need to run?

Going by SKILL.md and its folder, Faasjs API Jobs needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Faasjs API Jobs access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Faasjs API Jobs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Faasjs API Jobs use?

Faasjs API Jobs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Faasjs API Jobs use?

About 653 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.4k tokens, read only when the agent opens those files.

What are the alternatives to Faasjs API Jobs?

Skills that share tags, products or a category with Faasjs API Jobs: Inngest Nextjs Patterns (pproenca/dot-skills, 215 stars), Nuxt Content (secondsky/claude-skills, 227 stars), Sillytavern Runtime Debug (LiarMTTT/TavernWeave, 153 stars) and Generate Sample Data (bitovi/ai-enablement-prompts, 121 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Faasjs API Jobs?

faasjs (a GitHub organization) maintains it in faasjs/faasjs, which has 121 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 3, 2026.

Source: faasjs/faasjs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.