tauri-django-react

A development guide for desktop and web apps built with Tauri, Django, and React. It covers how the Rust desktop shell, Python backend, and TypeScript user interface work together.

In plain words
What is it for?
Use it when building or updating a Tauri-Django-React app, especially for starting and checking the Django server, handling CORS and authentication, connecting React to the backend, adding light/dark themes and German/English translations, packaging builds, or supporting desktop and web deployments.
Why use it?
It gives agents patterns for handling integration problems that cross these three technologies, including backend startup, login requests, packaging, and differences between browser and desktop use.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/firstp1ck/pi-coding-agent-forge/tauri-django-react
Any agent
npx skills add Firstp1ck/pi-coding-agent-forge --skill tauri-django-react
Clone the repo
git clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forge

Made for: Claude Code, Codex.

Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,962 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00063 $0.10962
Opus 5 $0.00032 $0.05481
Sonnet 5 $0.00013 $0.02192
Haiku 4.5 $0.00006 $0.01096

Measured 2d ago against content hash 63f696343ae5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tauri-django-react scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/scaffold.py, scripts/validate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pi-skill-tauri-django-react/skills/tauri-django-react/SKILL.md · 1,121 lines

How it starts

The opening of the file, as written. The whole thing — 1,121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tauri + Django + React Integration Patterns

Dense technical reference for building desktop applications that use Tauri as the native shell, Django as the backend API, and React as the frontend UI. Patterns are designed for reuse across projects.

This skill is self-contained; it must not depend on package-level docs/ files at runtime.


Quick Start

Identify the Integration Concern

  1. Which layers are involved? If the question spans two or more of Rust/Python/TypeScript, this skill applies.
  2. Is it a lifecycle issue? Port selection, process spawning, health checking, cleanup -> Backend Lifecycle section.
  3. Is it an auth issue? Cookies not working in Tauri, CORS errors, session tokens -> Cross-Origin Auth section.
  4. Is it a build issue? PyInstaller fails, bundle missing files, tauri build errors -> Build Pipeline section.
  5. Is it a dual-mode issue? Works in browser but not Tauri (or vice versa) -> Frontend Integration section.
  6. Mandatory local runner: When creating or updating a project with this skill, add or maintain an executable scripts/start.sh that starts both Django and React for local development.
  7. Mandatory frontend UX baseline: Ask the user for separate light-mode and dark-mode background images before finalizing visual work; implement a persistent light/dark mode setting; implement German/English i18n for every user-facing string.
  8. Mandatory GitHub release automation: When creating or updating a project with this skill, add or maintain both .github/workflows/release.yml and an executable scripts/release.sh release helper.
  9. Mandatory configurable update path: Add or maintain a filesystem update checker that reads a configurable update source directory before checking/installing desktop updates.

Mandatory GitHub Release Automation

Every Tauri + Django + React project handled by this skill must include GitHub release automation:

  • .github/workflows/release.yml builds the Tauri desktop app, uploads installer artifacts, and publishes a GitHub Release for v* tags or manual workflow_dispatch runs.
  • scripts/release.sh updates project version files, regenerates relevant locks when tooling is available, commits/pushes version changes, creates an annotated vX.X.X tag, and pushes the tag to trigger the workflow.
  • dev/RELEASES/ is the canonical release-notes directory; release notes use dev/RELEASES/RELEASE_vX.X.X.md and the workflow falls back to the annotated tag message when the file is absent.
  • The workflow and script must be adapted to the actual app name, artifact names, package names, secrets, signing/updater setup, and platform targets. Do not copy private updater/Gist/signing logic unless the current project explicitly has that configuration.

Read the full file on GitHub · 1,121 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 1,121 lines · 63 tokens per session scan A 63f696343ae5

Subscribe to this mod's changes

tauri-django-react is a skill published in the GitHub repository Firstp1ck/pi-coding-agent-forge (74 stars, last pushed 3d ago), licensed MIT. It adds 63 tokens to every session and 10,962 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.