Loading...
Loading...
외부 REST API 호출 코드를 생성하는 스킬. axios 기반 TypeScript Service + Type + Test. "외부 API 연동", "결제 API 호출", "문자 발송 API" 키워드로 트리거.
npx skill4agent add peachsolution/peach-harness peach-add-apipaymentsms-senderPAYMENT_API_URLapi/src/modules/{{module-name}}/service/{{module-name}}.service.tstype/{{module-name}}.interface.tsCommonResDto<T>test/{{module-name}}.test.ts{{MODULE_NAME}}{{ServiceClassName}}{{ENV_VAR}}{{methodName}}{{endpoint}}{{RequestDtoName}}{{ResponseDtoName}}# env.{stage}.yml
environment:
{{ENV_VAR}}_API_URL: https://api.example.com# 타입 체크
cd api && bun run build
# 린트 체크
cd api && bun run lint:fixed
# 테스트 실행 (있는 경우)
cd api && bun test src/modules/[모듈명]/test/env.{stage}.yml