Agent skill

Write Backend Unit Test

by baserow in baserow/baserow

Write or update Baserow backend tests for core, premium, or enterprise code using pytest, Django, DRF APIClient, and the repo's shared fixture patterns.

Custom licenceAuto-check passedTesting & QA

Install Write Backend Unit Test

skills CLI
$ npx skills add baserow/baserow --skill write-backend-unit-test -a claude-code

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

GitHub CLI
$ gh skill install baserow/baserow write-backend-unit-test --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/baserow/baserow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/write-backend-unit-test .claude/skills/write-backend-unit-test && 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
write-backend-unit-test
GitHub stars
6.1k
Token cost
~1.8k tokens
SKILL.md length
749 words
Files
2
Skills in repo
11
Repo updated
First seen
Licence
Custom licence

At a glance

Write or update Baserow backend tests for core, premium, or enterprise code using pytest, Django, DRF APIClient, and the repo's shared fixture patterns.

  • Works in 5 steps: Handler, service, registry, or model logic → API view or serializer behavior → Signals, permissions, or… → …
  • Tasks that involve Unit testing
  • SKILL.md covers First Step, Tooling Used In This Repo, Choose The Right Pattern and Fixtures And Data Setup, plus 3 more sections
  • Calls just

What it does

Write Backend Unit Test is an agent skill from baserow/baserow. Write or update Baserow backend tests for core, premium, or enterprise code using pytest, Django, DRF APIClient, and the repo's shared fixture patterns.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Testing & QA, covering Unit testing and Backend development. It works with pytest, Django and Airtable. The repository describes itself as: Build databases, automations, apps & agents with AI — no code. Open source platform available on cloud and self-hosted. GDPR, HIPAA, SOC 2 compliant. Best Airtable alternative.

When your agent uses it

  • Tasks that involve Unit testing
  • Tasks that involve Backend development

Example prompts

  • “/write-backend-unit-test”

Workflow steps

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

  1. Handler, service, registry, or model logic
  2. API view or serializer behavior
  3. Signals, permissions, or settings-sensitive behavior
  4. Query-count or performance-sensitive behavior
  5. Premium or enterprise variant of one of the above

What it can do on your machine

Read from SKILL.md and the folder at commit 68aec3c. 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:

    • just

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

  • Network

    No URLs in SKILL.md.

    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

Write Backend Unit Test loads about 1.8k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 749 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 749 words (~1,750 tokens).

“Use this skill when a task is to add, fix, or extend a backend test in backend/tests, premium/backend/tests, or enterprise/backend/tests.”

— opening of SKILL.md by baserow, Custom licence
name
write-backend-unit-test

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .agents/skills/write-backend-unit-test of baserow/baserow.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 68aec3c

Compare with similar skills

Write Backend Unit Test 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.

Write Backend Unit Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Write Backend Unit Test this skillbaserow/baserow6.1k—~1.8kAutomated safety check: PassCustom licence
Django TDDaffaan-m/ECC274k7 repos~5.3kAutomated safety check: PassMIT
Dj Pytestdvf/opinionated-django109—~4.3kAutomated safety check: NotesMIT
Django TDDaffaan-m/ECC274k3 repos~4.9kAutomated safety check: PassMIT
Django TDDxu-xiang/everything-claude-code-zh2k—~4.7kAutomated safety check: PassMIT
Pytestbobmatnyc/claude-mpm155—~8.2kAutomated safety check: PassMIT

Similar skills

  • Django TDD

    affaan-m/ECC

    Django testing strategies with pytest-django, TDD methodology, factoryboy, mocking, coverage, and testing Django REST Framework APIs.

    274k GitHub starsUsed in 7 repos~5.3k tokens
    Testing & QAAuto-check passed
  • Dj Pytest

    dvf/opinionated-django

    Set up and write pytest tests for an op-django project — pytest-django configuration, two-sided Celery testing (patched dispatch sites + plain-function task bodies, never eager mode), freezegun for…

    109 GitHub stars~4.3k tokensUpdated 1 mo ago
    Testing & QAAuto-check: notes
  • Django TDD

    affaan-m/ECC

    Django 测试策略,包括 pytest-django、TDD 方法、factoryboy、模拟、覆盖率以及测试 Django REST Framework API。

    274k GitHub starsUsed in 3 repos~4.9k tokens
    Testing & QAAuto-check passed
  • Django TDD

    xu-xiang/everything-claude-code-zh

    使用 pytest-django 进行 Django 测试的策略、TDD 方法论、factoryboy、Mock 模拟、测试覆盖率以及测试 Django REST Framework API。

    2k GitHub stars~4.7k tokensUpdated 7 mo ago
    Testing & QAAuto-check passed
  • Pytest

    bobmatnyc/claude-mpm

    pytest - Python's most powerful testing framework with fixtures, parametrization, plugins, and framework integration for FastAPI, Django, Flask

    155 GitHub stars~8.2k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Pytest

    mathiasertl/django-ca

    Instructions for running, writing, and maintaining tests in this project

    158 GitHub stars~924 tokensUpdated 3 days ago
    Testing & QAAuto-check passed

More from baserow/baserow

All 11 skills in this repo
  • Review PR

    baserow/baserow

    Review a Baserow pull request, branch, or diff against its actual base the way the maintainers do.

    6.1k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Add Config Env Var

    baserow/baserow

    Add a Baserow configuration environment variable for the backend, frontend, or both, and propagate it through settings, Nuxt runtime config, Docker Compose, documentation, consumers, and tests as…

    6.1k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Create Changelog

    baserow/baserow

    Generate a changelog entry for the current Git branch by inspecting changed files, classifying the domain and type, writing a short public-friendly message, and running just changelog add after the…

    6.1k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Silk Profiler

    baserow/baserow

    Investigate backend performance using Django Silk profiling data.

    6.1k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Baserow Registry

    baserow/baserow

    Explain, create, update, or use Baserow registries across backend and frontend code, including Instance/Registry patterns, registration points, model-backed type registries, serializer/API…

    6.1k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Core Graph

    baserow/baserow

    A skill your agent uses when working on code involving Element/Page relationships in the Application Builder (contrib/builder) or AutomationNode/AutomationWorkflow relationships in the Automation…

    6.1k GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Questions about Write Backend Unit Test

What does Write Backend Unit Test do?

Write or update Baserow backend tests for core, premium, or enterprise code using pytest, Django, DRF APIClient, and the repo's shared fixture patterns. Write Backend Unit Test is an agent skill from baserow/baserow. Write or update Baserow backend tests for core, premium, or enterprise code using pytest, Django, DRF APIClient, and the repo's shared fixture patterns.

When should I use Write Backend Unit Test?

Write Backend Unit Test fits situations like: tasks that involve Unit testing; tasks that involve Backend development.

How do I install Write Backend Unit Test in Claude Code?

Run `npx skills add baserow/baserow --skill write-backend-unit-test -a claude-code`. Or copy the skill folder (.agents/skills/write-backend-unit-test in baserow/baserow) into .claude/skills/write-backend-unit-test in your project. Claude Code loads it when a task matches its description.

How do I install Write Backend Unit Test in Codex?

Run `npx skills add baserow/baserow --skill write-backend-unit-test -a codex`. Or copy the skill folder (.agents/skills/write-backend-unit-test in baserow/baserow) into .agents/skills/write-backend-unit-test in your project. Codex loads it when a task matches its description.

Can I use Write Backend Unit Test 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 baserow/baserow --skill write-backend-unit-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/write-backend-unit-test, .gemini/skills/write-backend-unit-test, .github/skills/write-backend-unit-test and .opencode/skills/write-backend-unit-test in your project.

What does Write Backend Unit Test need to run?

Going by SKILL.md and its folder, Write Backend Unit Test needs the command-line tools its instructions call (just).

Does Write Backend Unit Test access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Write Backend Unit Test 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 Write Backend Unit Test use?

Write Backend Unit Test has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Write Backend Unit Test use?

About 1.8k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Write Backend Unit Test?

Skills that share tags, products or a category with Write Backend Unit Test: Django TDD (affaan-m/ECC, 274k stars), Dj Pytest (dvf/opinionated-django, 109 stars), Django TDD (affaan-m/ECC, 274k stars) and Django TDD (xu-xiang/everything-claude-code-zh, 2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Write Backend Unit Test?

baserow (a GitHub organization) maintains it in baserow/baserow, which has 6,092 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.

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