Skip to content
Back to skills

Flisk Recipe Blog

ASecurity

Recipe for "build me a blog with an admin API" with Flisk - a public blog site and a posts API with a database and token-protected admin routes, in one stack started with `flisk up`. Use with the flisk-build skill when the user asks for a blog, a CMS, a news site or any site with an editor.

  • 54 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 21, 2026
developmentbashdockerapidatabasefrontendbackend

Works with

  • claude code
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 21, 2026

npx -y skills add flisk-sh/flisk --skill flisk-recipe-blog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flisk Recipe Blog?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Flisk Recipe Blog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/flisk-sh-flisk-recipe-blog-flisk/badge)](https://www.skillsdirectory.com/skills/flisk-sh-flisk-recipe-blog-flisk)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: flisk-recipe-blog
description: Recipe for "build me a blog with an admin API" with Flisk - a public blog site and a posts API with a database and token-protected admin routes, in one stack started with `flisk up`. Use with the flisk-build skill when the user asks for a blog, a CMS, a news site or any site with an editor.
license: MIT
compatibility: Requires the flisk CLI, Docker and Tilt on the local machine. Does not deploy.
metadata:
  author: flisk-sh
  version: "1.0"
---

# Recipe: a blog with an admin API

**Parts:** a public blog site, and a posts API with public read routes and admin write routes.

## Steps

```bash
flisk doctor
flisk project --yes
flisk resource blog --type frontend --stack blog --yes
flisk resource posts-api --type backend --stack blog --feature drizzle --yes
flisk up blog --dry-run
flisk up blog --json &        # wait for {"ok":true}
flisk networks --stack blog --raw
```

## App code

- `posts-api`: a `posts` table (title, slug, body, published). Public: `GET /posts`, `GET /posts/:slug`. Admin: `POST /admin/posts`, `PUT /admin/posts/:id`, `DELETE /admin/posts/:id`, accepted only with `Authorization: Bearer <token>` signed with `JWT_SECRET` from the project `.env`. Seed one welcome post.
- `blog`: a list page and a post page that read from `posts-api` through the generated client in `.autogenerated/`.

## Done when

Each answers 200: the `blog` health URL, `/api/posts/health` and `/api/posts/health/db` on `api.<project>.localhost:<port>`. An admin `POST` without a token answers 401, and with a token it creates a post.

Tell the user the blog URL, the API URL, how to create a post (the `curl` with a token), and that `flisk down` stops everything.

## MCP tools

If a `mcp__flisk__*` tool is missing, run `flisk connect claude` in the project folder and restart Claude Code. The CLI commands in this skill work without MCP as well.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.