Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Cyxj Blog Pub

ASecurity

把文章发布到 Astro 博客。生成符合规范的 post(frontmatter 必填项校验、 kebab-case 文件名、正文图片全部换成图床公网 URL),放进 src/content/posts/,再 build 并部署。产出物在博客仓库,不在内容创作工作区。 触发词:发布到博客、发博客、博客发文、上博客、Astro 发布、blog 发布。

6 stars
0 votes
0 copies
0 views
Added 6/13/2026
ai-agentsbash

Security Analysis

A100/100

Scanned 6/13/2026

Install to Claude Code

$npx -y skills add chenyuxiaojin/xiaochen-skills --skill cyxj-blog-pub --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cyxj Blog Pub?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Cyxj Blog Pub
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chenyuxiaojin-cyxj-blog-pub/badge)](https://www.skillsdirectory.com/skills/chenyuxiaojin-cyxj-blog-pub)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: cyxj-blog-pub
description: >
  把文章发布到 Astro 博客。生成符合规范的 post(frontmatter 必填项校验、
  kebab-case 文件名、正文图片全部换成图床公网 URL),放进
  src/content/posts/,再 build 并部署。产出物在博客仓库,不在内容创作工作区。
  触发词:发布到博客、发博客、博客发文、上博客、Astro 发布、blog 发布。
version: 1.0.0
---

# cyxj-blog-pub — Astro 博客发布

把一篇成稿文章发到博客站点。**只做博客这一个平台**,不要顺手发别处。

## 何时用

- 用户说「发到博客」「发个博客」并指明(或已存在)一篇文章
- 文章源通常是 Obsidian `灵感库/待发布/` 的成稿,或刚由 `cyxj-transcript` 产出的草稿

**前置**:文章已成文。还是逐字稿先走 `/cyxj-transcript`。

## 项目坐标(来自内容创作 CLAUDE.md)

| 项 | 值 |
|----|----|
| 博客项目 | `~/项目/服务器/server-config/blog/` |
| 文章目录 | `src/content/posts/`(文件名 **kebab-case**) |
| 图片 | **全部用图床公网 URL**,禁止本地路径进正文 |
| 部署 | 在 `server-config` 根目录:`pnpm build` → `cp -r dist/* landing/` → `bash deploy.sh blog` |

## frontmatter 规范

```yaml
---
title: <文章标题>          # 必填
description: <一句话摘要>   # 必填
pubDate: <YYYY-MM-DD>      # 必填
tags: [<可选>]            # 可选
image: <封面图床 URL>      # 可选
draft: false              # 可选;true 则不发布
---
```

发布前**校验三个必填项齐全**,缺了就问用户或据稿补。

## 工作流

1. **取稿**:Read 文章源(路径不明就在 `灵感库/待发布/` 搜或问用户)。
2. **定文件名**:英文 kebab-case,如 `claude-code-for-non-coders.md`。
3. **处理图片(关键红线)**:正文里所有图片必须是图床 URL。
   - 本地图 → 先传图床(`img.xiaochens.com`,Lsky Pro,见内容创作 CLAUDE.md「图床操作参考」),拿到公网 URL 再写进正文。
   - **绝不把本地图片路径写进博客正文。**
4. **写 post**:组装 frontmatter + 正文,写到 `~/项目/服务器/server-config/blog/src/content/posts/<kebab>.md`。
5. **构建 + 部署**(动手前向用户确认要不要立即上线):
   ```bash
   cd ~/项目/服务器/server-config
   pnpm build
   cp -r dist/* landing/
   bash deploy.sh blog
   ```
6. **报告**:给出文章路径 + 部署结果;失败就贴报错原文,别说「成功了」。

## 红线

- 只发博客这一个平台,不默认走多平台。
- 正文图片只用图床 URL。
- 不臆造 frontmatter;必填项缺失先确认。
- 部署是对外动作——`pnpm build` 之后、推上线之前,先跟用户确认一次。

Attribution

chenyuxiaojinchenyuxiaojin
View sourceMore from chenyuxiaojin →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →