Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/posit-dev/open-source-website --skill check-post명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | check-post |
| description | Validate blog post frontmatter and placement |
| argument-hint | [post-path] |
Run the blog post validation script and help the user fix any issues found.
If the user provided a path in their request, use that. Otherwise, look for blog posts changed on the current branch:
git diff --name-only --diff-filter=d origin/main...HEAD -- 'content/blog/**/index.md' 'content/blog/**/index.qmd'
If no changed posts are found, ask the user which post to check.
.qmd filesFor each post directory found, check if an index.qmd exists. If it does, check whether index.md also exists and is newer than index.qmd:
# For each post directory
if [ -f index.qmd ] && { [ ! -f index.md ] || [ index.qmd -nt index.md ]; }; then
echo "index.qmd has not been rendered to index.md (or is out of date)"
fi
If any .qmd files need rendering, warn the user and always offer to re-render — even if there is no computational environment setup. To render:
quarto render <path>/index.qmd
.qmd posts may need to render through a specific environment — check the post folder for a pyproject.toml, renv.lock, or similar, and use whatever tool the author set up. See the "Setting up an environment" section of content/blog/_authoring-guide.md for context.
Do not proceed with validation until index.md exists and is up to date for all posts.
The validation script reads index.md files (not .qmd):
uv run scripts/validate-blog-posts.py <paths to index.md>
If all checks pass, say so and stop.
If there are issues, summarize them clearly grouped by severity:
For each error, explain what's wrong and suggest a concrete fix. For example:
topics → suggest values from data/topics.yaml that fit the post contentsoftware → check if there's a close match in content/software/. If there isn't one, offer to create a new software page using scripts/create-new-software.py.people → check if there's a close match in content/people/. If there isn't one, offer to create a new people page.source on a ported post → suggest setting it to match ported_fromcategories present → replace with topicsFor warnings, distinguish two groups:
Sometimes intentional — ask before fixing. These warnings flag fields that can be legitimately omitted when the post genuinely doesn't have that dimension:
software missing — may be intentional for general best-practices, community, or company-news posts that aren't about a specific project. Ask before suggesting a value.languages missing — may be intentional for posts that aren't about a particular programming language. Ask before suggesting a value.<name> — may be intentional if the contributor doesn't want a content/people/ profile. Ask before offering to create one.Should normally be acted on.
date is in the past — confirm whether the author wants the post to publish on merge; if not, suggest a future date.<name> looks like a team name — suggest replacing with the individual contributors.For errors and the "should normally be acted on" warnings, ask the user if they'd like you to fix them directly. For the "sometimes intentional" warnings, ask first whether the absence is intentional — only fix if the user confirms a value should be set.
If they accept any fixes:
index.qmd, edit the .qmd file (that's the source of truth), then re-render to update index.md.index.md directly.Re-run validation to confirm the fixes worked.
SOC 직업 분류 기준