From dev
Markdown 파일을 GitHub 스타일 서식의 Google Docs 문서로 변환한다. "/md-to-gdoc", "마크다운을 구글독스로", "md to google docs" 등의 요청에 사용한다.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev:md-to-gdocThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- `gws` CLI 설치 및 인증 필요 (`gws auth login`)
gws CLI 설치 및 인증 필요 (gws auth login)대상 파일: $ARGUMENTS
$ARGUMENTS가 비어 있으면 사용자에게 변환할 마크다운 파일 경로를 물어본다. 파일이 존재하는지 확인한다.
대상 마크다운 파일을 읽고 구조를 분석한다. 아래 요소를 식별한다:
# ~ ######)인라인 코드>)---)사용자에게 Google Drive 내 업로드 위치를 물어본다. 폴더 ID 또는 Drive 내 경로를 받는다. 지정하지 않으면 내 드라이브 루트에 생성한다.
마크다운 파일명(확장자 제외)을 문서 제목으로 사용한다. 지정된 폴더가 있으면 해당 폴더에 생성한다.
# 폴더 미지정 시
gws docs documents create --json '{"title": "{문서제목}"}'
# 폴더 지정 시: 문서 생성 후 Drive에서 폴더로 이동
gws drive files update --params '{"fileId": "{documentId}", "addParents": "{folderId}", "removeParents": "root"}'
응답에서 documentId를 추출한다.
파싱된 마크다운을 Google Docs API batchUpdate 요청으로 변환한다. 텍스트 삽입은 역순으로 구성한다 (문서 끝부터 처음 순서로 삽입하면 인덱스가 밀리지 않는다).
헤딩:
# → HEADING_1, 24pt, 볼드## → HEADING_2, 20pt, 볼드, 하단에 수평선 삽입### → HEADING_3, 16pt, 볼드#### ~ ###### → HEADING_4~6, 14pt, 볼드텍스트 스타일:
bold: trueitalic: trueweightedFontFamily: "Consolas", 배경색 #f6f8fa, fontSize 13pt코드 블록:
weightedFontFamily: "Consolas", fontSize 13pt, 배경색 #f6f8fa테이블:
insertTable 요청으로 행/열 생성#f6f8fa, 볼드#f6f8fa#d1d9e0목록:
BULLET_DISC_CIRCLE_SQUARENUMBERED_DECIMAL_ALPHA_ROMANnestingLevel 증가인용문:
#656d76▎ 문자 + 색상 #d1d9e0링크:
updateTextStyle로 link.url 설정, 색상 #0969da수평선:
구성된 요청을 실행한다. 요청이 크면 여러 번에 나눠서 실행한다.
gws docs documents batchUpdate --params '{"documentId": "{documentId}"}' --json '{요청본문}'
https://docs.google.com/document/d/{documentId}/editnpx claudepluginhub kang-jacob-gitlb/mccm --plugin devGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.