Building with AI

Fystack documentation is written for people and for the AI assistants they work with. Every page is available as clean Markdown, and the whole site is indexed in an llms.txt file, so tools like Claude Code, Cursor, Codex and ChatGPT can read the docs directly instead of scraping HTML.

Install the Fystack agent skill

An agent skill is a package of instructions that a coding assistant loads when a task needs it. The official Fystack skill, fystack/agent-skills, teaches your assistant how to build on Fystack:

  • REST API: every endpoint with its key fields, plus request signing with HMAC or Ed25519 in any language.
  • Official SDKs: @fystack/sdk for TypeScript and github.com/fystack/platform-sdk-go for Go.
  • Webhooks: signature verification and crediting deposits exactly once.
  • Approvals: roles, approval groups, auto-approval limits and policies, so it can answer setup questions as well as write code.

It also keeps your assistant on safe defaults: build against sandbox first, keep secrets out of code, and never bypass human approval of funds. The skill reads these docs as it works, so it stays current when the API changes.

Install it for any assistant that supports agent skills, including Claude Code, Cursor, Codex, Gemini CLI and GitHub Copilot:

npx skills add fystack/agent-skills

In Claude Code, you can also install it as a plugin:

/plugin marketplace add fystack/agent-skills
/plugin install fystack@fystack

To install it manually, copy the skills/fystack folder from the repository into your assistant's skills folder, for example .claude/skills/fystack in your project.

You don't need to mention the skill after installing it. Ask your assistant for a Fystack task, such as creating a wallet or verifying webhooks, and it loads the skill on its own.

Plain text docs

AI tools work best with plain text. Markdown uses far fewer tokens than rendered HTML and keeps code samples, parameter lists and tables intact. Fystack publishes the docs in these forms:

  • llms.txt: https://docs.fystack.io/llms.txt is a short index of every page with a one-line description. Point your assistant here first so it can find the right page on its own.
  • llms-full.txt: https://docs.fystack.io/llms-full.txt contains every page in a single file. Use it when you want the assistant to load all of the docs at once and your tool has room in its context window.
  • Markdown pages: add .md to the end of any docs URL to get that page as Markdown, for example https://docs.fystack.io/wallets.md.
  • Content negotiation: agents that send an Accept: text/markdown header get Markdown from the normal page URL, with no .md needed.
curl -H "Accept: text/markdown" https://docs.fystack.io/wallets

Copy a page into your assistant

Every page has a Copy page button next to its title. Use it to:

  • Copy page: copy the current page as Markdown, ready to paste into any chat or coding assistant.
  • View as Markdown: open the Markdown version of the page in a new tab.
  • Open in ChatGPT or Open in Claude: start a new conversation that already points at the page, so you can ask questions about it straight away.

Keep your keys and funds safe

Treat AI assistants like any other team member

Give AI assistants the minimum access they need. Use sandbox API keys while building, keep secrets in environment variables rather than in prompts or committed files, and restrict production keys with IP whitelisting. Protect production wallets with policies and approval groups, so no withdrawal can be sent without human approval, even if an assistant makes a mistake.