用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vimalinx/vimalinx.github.io --skill blog-edit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | blog-edit |
| description | Edit an existing blog post. Shows current content, applies user-requested changes, and saves. |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, AskUserQuestion |
| argument-hint | ["slug"] |
The user wants to edit: $ARGUMENTS
If the user provided a slug, use it directly. Otherwise, run npm run blog -- ai list to find the matching post.
If no slug is provided, list all posts and ask the user which one to edit.
Run to get the full post:
npm run blog -- ai show <slug> --lang zh
If there's also an English version, show both:
npm run blog -- ai show <slug> --lang en
Display the current frontmatter and a preview of the content to the user.
Based on the user's instructions, modify the content. Common operations:
npm run blog -- ai update <slug> --lang zh --title "new title"npm run blog -- ai update <slug> --lang zh --content "$(cat /tmp/updated-content.md)"For content changes, write the updated content to a temp file first, then pass it:
# Write updated content to temp file
cat > /tmp/blog-update.md << 'ENDOFCONTENT'
(updated markdown content)
ENDOFCONTENT
# Update the post
npm run blog -- ai update <slug> --lang zh --content "$(cat /tmp/blog-update.md)"
If the post has both zh and en versions, ask the user:
If editing both, make consistent changes to both versions.
Show the user what was changed and the updated file path.
基于 SOC 职业分类