비정형 마크다운 작성을 markdown-writer-agent에 위임
비정형 마크다운 콘텐츠 생성을 markdown-writer-agent에 위임하는 방법입니다.
정형 콘텐츠는 템플릿, 비정형 콘텐츠는 markdown-writer-agent
반드시 Task tool을 사용합니다. Bash 명령어로 실행하지 마세요.
Task tool 호출:
subagent_type: "markdown-writer-agent"
run_in_background: true
prompt: |
콘텐츠 유형: {summary | description | guide | error_report | test_items}
컨텍스트: {작성에 필요한 정보}
길이 힌트: {short | medium | long}
형식: {plain | bullet_list | numbered_list | table | checklist}
.claude/agents/markdown-writer-agent.md 의 지시를 따르고,
작업 완료 후 결과만 요약해서 보고해줘."
Task tool 호출:
subagent_type: "markdown-writer-agent"
run_in_background: true
prompt: |
콘텐츠 유형: test_items
컨텍스트: JWT 토큰 검증 테스트. 유효/만료/변조 케이스 포함.
길이 힌트: medium
형식: checklist
.claude/agents/markdown-writer-agent.md 의 지시를 따르고,
작업 완료 후 결과만 요약해서 보고해줘."
Task tool 호출:
subagent_type: "markdown-writer-agent"
run_in_background: true
prompt: |
콘텐츠 유형: error_report
컨텍스트: TypeScript 빌드 에러. 순환 참조 감지. 파일: src/types/index.ts
길이 힌트: medium
형식: bullet_list
.claude/agents/markdown-writer-agent.md 의 지시를 따르고,
작업 완료 후 결과만 요약해서 보고해줘."
Task tool 호출:
subagent_type: "markdown-writer-agent"
run_in_background: true
prompt: |
콘텐츠 유형: summary
컨텍스트: {작업 완료 내용}
길이 힌트: short
형식: plain
.claude/agents/markdown-writer-agent.md 의 지시를 따르고,
작업 완료 후 결과만 요약해서 보고해줘."
## markdown-writer-agent 결과
- 상태: COMPLETED
- 콘텐츠 유형: test_items
- 길이: 320자
### 생성된 내용
[생성된 마크다운 콘텐츠]
처리:
### 생성된 내용 이후 텍스트 추출호출 에이전트가 직접 간단한 내용 생성
1. test-case-agent: 테스트 케이스 구조 설계
2. markdown-templates 스킬로 test-case-template.md 읽기
3. 기본 변수 치환 (TEST_ID, TASK_ID 등)
4. markdown-writer-agent spawn → TEST_ITEMS 생성
5. 결과를 {{TEST_ITEMS}} 위치에 삽입
6. 최종 파일 Write
1. task-manager-agent: 액션 결정
2. markdown-templates 스킬로 템플릿 읽기
3. 기본 변수 치환
4. 동적 내용 필요시 markdown-writer-agent spawn
5. 결과 삽입
6. 파일 업데이트
빌드 에러 발생 시:
1. 에러 정보 수집
2. markdown-writer-agent spawn (error_report)
3. 결과를 LESSONS_LEARNED.md에 추가