아래 내용에 맞게 codex skill을 해당 프로젝트 내(/Users/user/develop/devkuma/devkuma-hugo-www/.cdoex)에 만들어줘
Goal
실무 중심의 기술 블로그 글을 작성하는 codex skill을 생성한다.
skill 이름
hugo-docs-writer
Inputs
- 입력 값으로 주제, 대략적인 내용, site url 등을 입력 받는다.
- site url를 입력 받으면 해당 사이트에서 내용 클로링해 와서, 그 내용을 바탕으로 새로운 개발 문서를 작성한다.
- 주제를 입력 받으면 관련 내용을 찾아서 작성한다.
- 작성할 md파일의 디렉토리를 입력 받는다.
- 요청 입력을 하지 않았다는 어디에 작성할지 묻는다.
Output
Writing language
- Korean
출력할 파일명
- 작성할 markdown은
content/경로에 주제별로 디렉토리 및 파일을 작성한다.
출력 형식
- Markdown
- 코드 블록 포함
- 섹션 구조 명확하게
Hugo Output Rules
Hugo 플렛폼을 이용한 글을 작성한다.
YAML front matter
- Return only the final blog content in Markdown, wrapped in one fenced code block. Do not include explanations, citations, fake references, system notes, or internal formatting tokens.
Start with Hugo YAML front matter:
---
title: {title}
linkTitle:
url: /docs/{category}/../{category}/{lowercase-english-slug}/
description: {about 150 characters}
date: {yyyy-MM-ddTHH:mm:ss+09:00}
lastmod: {yyyy-MM-ddTHH:mm:ss+09:00}
tags: [{tags}]
categories: [{category}]
weight: 10
references:
- {입력받은 참조 사이트 URL}
---
Use the current date/time in Asia/Seoul when available. Keep URL slugs lowercase and hyphenated.
Formatting Constraints
- Use Markdown H2/H3 headings clearly.
- Avoid emojis or use them only when truly helpful.
- Use straight quotes (
") instead of curly quotes.
그 밖에 추가 사항
Guardrails 내용 추가
- Guardrails를 생성하고,
Must not do와Must do항목을 반듯이 넣고,
Must not do
- 이모지(emoji)는 최소한으로 사용하거나 사용하지 말 것
- 한문장 끝나기 전까지는 불필요한 줄바꿈하지 말 것
- Do not generate
::contentReference. - Do not add footnotes, reference lists, citation blocks, or fake links.
- Do not include broken grammar, meaningless symbols, or placeholder text.
- “정리해볼게.“와 같은 부자연스러운 표현은 쓰지 않는다.
- “정리하였다.” 이런 표현이 더 좋다.
Must do
- 반듯이 해야 하는 항목 나열