typos-publish

Installation
SKILL.md

Typos Publish

Turn a raw Markdown file into a properly-formatted Typos post and publish it through the /api/v1/posts API.

Overview

A Typos post stores these frontmatter fields: title, date, slug, description, category, cover. Raw articles often have none of them. This skill fills the gaps, shows the result for confirmation, then uploads.

The upload itself is done by scripts/upload.mjs, which reads credentials from config.json and POSTs the Markdown to the site. The server parses the frontmatter, so the heavy lifting is just producing good frontmatter.

Prerequisites

Credentials live in config.json next to this skill (baseUrl + token). It is git-ignored / local-only. If it is missing, tell the user to copy config.example.json to config.json and fill in their site URL and an API token generated at /admin → 密钥.

Workflow

Follow these steps in order.

1. Read the article

Installs
1
Repository
hopesy/skills
GitHub Stars
1
First Seen
8 days ago