write-my-blog
由 harshraj001 提供
Web & Frontend Development简介
Enables the agent to create, manage, and publish a full-featured blog autonomously.
描述
该技能的功能
Gives an agent the ability to run a self-hosted blog platform: writing and publishing posts via REST API, uploading media, switching themes, and deploying to Cloudflare or Vercel. Supports PostgreSQL, SQLite, MongoDB, Turso, and Supabase as the backing database, with optional Redis or in-memory caching.
Covers the full blog lifecycle from writing to deployment through a single REST API, so no manual CMS interaction is needed.
何时使用
- Publishing a weekly AI-written article to a personal blog
- Switching the blog's visual theme before a product launch
- Uploading a cover image and attaching it to a draft post
- Deploying the blog to Cloudflare after a content update
- Querying post analytics to find the most-read articles
示例工作流
User asks: Write and publish a post about the future of AI agents
- 1
Runs setup script to initialize the platform and database if not already configured
- 2
Uploads any relevant cover image via POST /api/media and saves the returned URL
- 3
Sends POST /api/posts with title, slug, markdown content, excerpt, tags, and status set to published
- 4
Optionally updates blog settings via PUT /api/settings to reflect current branding
- 5
Runs the deploy script to push the updated blog to Vercel or Cloudflare
Post is live at the configured domain with correct attribution, cover image, and tags
前置要求
- Vercel account (if deploying to Vercel)
- Cloudflare account (if deploying to Cloudflare)
- Turso database credentials (if using Turso)
- Supabase project URL and key (if using Supabase)
安装
clawhub install harshraj001/write-my-blog运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。