X9 Web Stack
ASecurityUse when starting a TypeScript web application on the x9 stack (Bun, React, Hono, PostgreSQL), auditing an existing web project's stack, structure, and development rules — on this stack or another — or writing durable development rules into a project's AGENTS.md — «создай проект на нашем стеке», «проверь стек проекта», «добавь правила разработки в AGENTS.md», "bootstrap a web app", "audit this project's stack". Not for a dedicated security review (x9-appsec), reviewing the test suite or test ...
- 5 stars
- 0 votes
- 0 copies
- 0 views
- Added November 9, 2026
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add xonika9/agent-skills --skill x9-web-stack --agent claude-codeAre you the author of X9 Web Stack?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/xonika9-x9-web-stack)---
name: x9-web-stack
description: Use when starting a TypeScript web application on the x9 stack (Bun, React, Hono, PostgreSQL), auditing an existing web project's stack, structure, and development rules — on this stack or another — or writing durable development rules into a project's AGENTS.md — «создай проект на нашем стеке», «проверь стек проекта», «добавь правила разработки в AGENTS.md», "bootstrap a web app", "audit this project's stack". Not for a dedicated security review (x9-appsec), reviewing the test suite or test setup (x9-test-quality), comparing architecture directions (x9-architecture-scout), or general AGENTS.md and README upkeep or its portable rule blocks (x9-context-files-generator).
compatibility: Bootstrap requires python3, bun, node for Vitest, and git; Docker for the dev database. Use a Node LTS release supported by the installed test dependencies. Audit needs read access to the project. Writing durable AGENTS.md rules needs authorized write access; x9-agent-instructions owns the instruction-quality rubric.
---
# Web stack
This skill owns a vetted template for TypeScript web applications — the stack, the project structure, and the development rules — and three ways to apply it. The template lives in this skill: [stack and structure](references/stack.md), [rules](references/rules.md), [library notes](references/library-notes.md), and the verified project scaffold in `assets/project`.
## Select the action
- **Bootstrap:** a new project on this stack. The request authorizes creating the project in an empty target directory, installing packages from the public registry, starting local containers, and running local checks. Follow [bootstrap](references/bootstrap.md).
- **Audit:** an existing project, on this stack or another. The first pass changes nothing but the project notes: a ranked report per [audit](references/audit.md). Apply only findings the user selects; an explicit request to fix already selects them.
- **Rules block:** write or refresh the development-rules block in the project's `AGENTS.md` per [agents-block](references/agents-block.md). A request for it authorizes editing the block. Bootstrap always writes it; an audit report offers it.
Bootstrap and audits record their results in the project's stack notes, and an audit starts by reading them, as [notes](references/notes.md) describes.
Infer the action from the whole request. A request to "set up" or "improve" an existing repository is an audit, not a bootstrap.
## Freshness
Versions, action tags, and library behaviour change faster than this skill. Install current releases and discover the current Bun version live; never copy a version from these files.
## Boundaries
- Never overwrite a non-empty directory, migrate a framework, language, or database, run migrations against non-local databases, deploy, commit, push, or create remote repositories unless the user asked for that exact action.
- Preserve user changes; read files immediately before editing them.
- Keep secrets out of reports and committed files; `.env` stays untracked.
## Done
- Bootstrap: the done condition in [bootstrap](references/bootstrap.md#done) holds and the report names what was not verified.
- Audit: the report follows [audit](references/audit.md#report) and the notes are updated; after fixes, each applied finding has check output and its register status.
- Rules block: the done condition in [agents-block](references/agents-block.md#done) holds.
The [onboarding declaration](references/onboarding.json) lists external prerequisites.
Files in this skill
- SKILL.md
- assets/project/Caddyfile
- assets/project/_dockerignore
- assets/project/_env.example
- assets/project/_github/dependabot.yml
- assets/project/_github/workflows/audit.yml
- assets/project/_github/workflows/ci.yml
- assets/project/_gitignore
- assets/project/apps/api/Dockerfile
- assets/project/apps/api/drizzle.config.ts
- assets/project/apps/api/package.json
- assets/project/apps/api/src/app.ts
- assets/project/apps/api/src/contract.ts
- assets/project/apps/api/src/db/client.ts
- assets/project/apps/api/src/db/migrate.ts
- assets/project/apps/api/src/db/schema.ts
- assets/project/apps/api/src/env.ts
- assets/project/apps/api/src/index.ts
- assets/project/apps/api/src/modules/orders/index.ts
- assets/project/apps/api/src/modules/orders/orders.test.ts
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.