Python 스크립트에 설명용 주석을 추가하고 포괄적인 README.md 튜토리얼을 생성하여 초보자용 프로젝트로 리팩토링합니다.
- GitHub 스타
- 41,038
- 파일
- 1
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- MIT
- 허용된 도구
- —
comment-code-generate-a-tutorial skill은 무엇을 하나요?
comment-code-generate-a-tutorial은(는) agent skill입니다. Python 스크립트에 설명용 주석을 추가하고 포괄적인 README.md 튜토리얼을 생성하여 초보자용 프로젝트로 리팩토링합니다.
skill의 SKILL.md에서 생성된 요약입니다.
comment-code-generate-a-tutorial skill 정보
이 도구의 주요 기능은 가공되지 않은 Python 스크립트를 신입 개발자를 위한 교육용 리소스로 변환하는 것입니다. 기존 스크립트를 가져와 PEP 8 스타일 가이드를 적용함으로써 코드가 표준 Python 베스트 프랙티스를 따르도록 합니다. 불분명한 변수와 함수 이름을 변경하여 학생들이 로직을 더 쉽게 이해할 수 있도록 원본보다 깔끔한 버전을 생성합니다.
사용자가 단일 파일을 완성된 프로젝트 패키지로 변환해야 할 때 에이전트가 이 SKILL을 로드해야 합니다. 이 과정에는 단순한 구문 설명을 넘어 로직의 근거를 설명하는 교육용 주석을 삽입하는 작업이 포함됩니다. 마지막으로 프로젝트 개요, 설정 방법, 코드 작동 방식 분석, 사용 예시 스니펫이 포함된 README.md 파일을 생성합니다. 이를 통해 단순한 스크립트를 구조화된 학습 모듈로 바꿀 수 있습니다.
agent가 수행할 수 있는 작업
- 1스크립트를 교육용 프로젝트로 변환단일 Python 스크립트를 설명용 주석과 튜토리얼이 포함된 세련된 초보자용 프로젝트로 변환합니다.
- 2포괄적인 프로젝트 문서 생성설정 방법, 로직 분석, 사용 예시가 포함된 README.md 파일을 생성합니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
comment-code-generate-a-tutorial skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.Claude Code에 comment-code-generate-a-tutorial skill 설치
~/.claude/skills/comment-code-generate-a-tutorial/SKILL.md
$ npx degit github/awesome-copilot/skills/comment-code-generate-a-tutorial ~/.claude/skills/comment-code-generate-a-tutorialClaude Code (project)에 comment-code-generate-a-tutorial skill 설치
.claude/skills/comment-code-generate-a-tutorial/SKILL.md
$ npx degit github/awesome-copilot/skills/comment-code-generate-a-tutorial .claude/skills/comment-code-generate-a-tutorialCodex에 comment-code-generate-a-tutorial skill 설치
~/.agents/skills/comment-code-generate-a-tutorial/SKILL.md
$ npx degit github/awesome-copilot/skills/comment-code-generate-a-tutorial ~/.agents/skills/comment-code-generate-a-tutorialGemini CLI에 comment-code-generate-a-tutorial skill 설치
~/.gemini/skills/comment-code-generate-a-tutorial/SKILL.md
$ npx degit github/awesome-copilot/skills/comment-code-generate-a-tutorial ~/.gemini/skills/comment-code-generate-a-tutorialClaude.ai에 comment-code-generate-a-tutorial skill 설치
npx degit github/awesome-copilot/skills/comment-code-generate-a-tutorial comment-code-generate-a-tutorial && zip -r comment-code-generate-a-tutorial.zip comment-code-generate-a-tutorial # claude.ai → Customize → Skills → + → Create skill → Upload a skill → comment-code-generate-a-tutorial.zip
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 보안 감사는 아닙니다. 에이전트가 실행하기 전에 스크립트를 읽어 보세요. 검사 방식
- 소스 저장소 연결 및 접근 가능github/awesome-copilot/skills/comment-code-generate-a-tutorial is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/comment-c ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit 2026-11-11github.com/github/awesome-copilot/commits ↗통과
- 스크립트에 다운로드 후 실행이나 자격 증명 탈취가 없음No scripts in the skill folder통과
- SKILL.md에 숨겨진 지침 없음No override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/comment-c ↗통과
- 사전 허용 도구가 제한됨No pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/comment-c ↗통과
SKILL.md
GitHub에서 보기Transform this Python script into a polished, beginner-friendly project by refactoring the code, adding clear instructional comments, and generating a complete markdown tutorial.
-
Refactor the code
- Apply standard Python best practices
- Ensure code follows the PEP 8 style guide
- Rename unclear variables and functions if needed for clarity
-
Add comments throughout the code
- Use a beginner-friendly, instructional tone
- Explain what each part of the code is doing and why it's important
- Focus on the logic and reasoning, not just syntax
- Avoid redundant or superficial comments
-
Generate a tutorial as a
README.mdfile
Include the following sections:- Project Overview: What the script does and why it's useful
- Setup Instructions: Prerequisites, dependencies, and how to run the script
- How It Works: A breakdown of the code logic based on the comments
- Example Usage: A code snippet showing how to use it
- Sample Output: (Optional) Include if the script returns visible results
- Use clear, readable Markdown formatting
이 스킬의 파일
1comment-code-generate-a-tutorial skill 질문
Claude Code에 comment-code-generate-a-tutorial skill을 어떻게 설치하나요?
npx degit github/awesome-copilot/skills/comment-code-generate-a-tutorial ~/.claude/skills/comment-code-generate-a-tutorial를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
comment-code-generate-a-tutorial skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
어떤 코딩 표준을 따르나요?
리팩토링된 코드가 PEP 8 스타일 가이드를 준수하고 표준 Python 베스트 프랙티스를 적용하도록 보장합니다.
생성된 튜토리얼에는 어떤 섹션이 포함되나요?
생성된 README.md에는 프로젝트 개요, 설정 방법, 로직 분석, 사용 예시 및 선택 사항인 샘플 출력 결과가 포함됩니다.