원클릭으로
blog-edit
Edit an existing blog post. Shows current content, applies user-requested changes, and saves.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Edit an existing blog post. Shows current content, applies user-requested changes, and saves.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
List all blog posts with metadata. Shows titles, dates, tags, and available languages.
Create a new blog post. User provides a topic or title, Claude generates content and creates the post.
Build, commit, and deploy the blog to GitHub Pages.
| 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.