홈 / Skills / 개발 생산성 / Caveman 간결한 답변
개발 생산성

Caveman 간결한 답변

Julius BrusseeApache-2.0Skill 언어: 영어
라이선스 확인됨스크립트 없음
실행 예시실제 실행 · claude-opus-5-5 · 2026년 10월
Talk like caveman from now on. My Node.js API returns `Error: connect ECONNREFUSED 127.0.0.1:5432` on startup inside Docker Compose, but Postgres runs fine and I can connect to it from my laptop with psql. What is wrong and how do I fix it?
Skill: caveman

127.0.0.1 inside API container means the API container itself, not Postgres. Postgres runs in its own container. From inside Docker Compose, reach it by its service name. Your laptop works because the port is published to the host's localhost.

Fix: point the host at the Compose service name.

services:
  db:
    image: postgres:16
    environment:
      POSTGRES_PASSWORD: secret
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 2s
      retries: 15
  api:
    build: .
    environment:
      DATABASE_URL: postgres://postgres:secret@db:5432/postgres
    depends_on:
      db:
        condition: service_healthy

Use db (your service name) as the host, in DATABASE_URL or PGHOST. Don't hardcode localhost in code.

The healthcheck plus condition: service_healthy is a second fix. Plain depends_on only waits for the container to start, not for Postgres to accept connections. Without the healthcheck you can still get ECONNREFUSED on cold start, even with the right host.

Other causes to check:

  • API runs on the host, not in Compose: localhost:5432 is correct there. Make sure ports: ["5432:5432"] is set on db.
  • API in a different Compose project or network: put both on a shared network, or use host.docker.internal:5432.
  • Postgres listening only on a unix socket: the official image already listens on *. Only custom configs need listen_addresses = '*'.

Check the connection from inside the API container: docker compose exec api sh -c 'nc -zv db 5432'.

Real run recorded with claude-code / claude-opus-5-5. Output is shown verbatim, unmodified.

하는 일

코딩 에이전트의 답변을 간결한 스타일로 바꿉니다. 답을 먼저 말하고 인사, 얼버무리는 표현, 요약 반복, 마무리 제안을 뺍니다. 코드, 명령어, 파일 경로, 숫자, 오류 문자열은 한 글자도 바꾸지 않습니다.

작동 방식

  1. /caveman 또는 "talk like caveman", "be brief", "less tokens" 같은 말로 켜지며, "stop caveman"이나 "normal mode"라고 할 때까지 유지됩니다.
  2. 아홉 가지 규칙을 따릅니다. 결론 먼저, 격식 생략, 짧은 단어, 관사는 생략 가능하지만 부정어는 절대 생략하지 않기, 한 문장에 한 가지 내용, 기술 내용은 원문 그대로, 도구 실행 중에는 말 줄이기, 사용자의 언어로 답하기, '원시인' 연기하지 않기.
  3. 보안 경고, 되돌릴 수 없는 작업, 단계별 안내, 사용자가 혼란스러워할 때, 그리고 코드, 커밋, 문서처럼 대화 밖에 남는 글에서는 평소 문장으로 돌아갑니다.

이럴 때 좋습니다

터미널에서 매일 코딩하면서 더 짧고 직접적인 답변을 원할 때.

알아 둘 점

작성자의 자체 측정(1회 실행, 질문 10개)에서는 모델에게 "간결하게 답해"라고만 한 경우보다 답변 길이의 중앙값이 약 3% 짧았습니다. 토큰을 크게 줄이는 도구라기보다 답변을 직접적으로 만드는 스타일로 보세요. /ultracave, /megacave 모드와 상태 표시줄 배지는 전체 Caveman 플러그인의 기능이며 이 패키지에는 없습니다.

참고 사항 및 위험

지시문만 담긴 파일입니다. 스크립트가 없고, 네트워크에 연결하지 않으며, 파일을 쓰지 않습니다. 패키지에는 원본 저장소의 README, LICENSE, NOTICE도 들어 있습니다. 지시문에 나오는 /caveman ultra, /caveman wenyan, /caveman status는 이 패키지에 없는 다른 Caveman Skill이나 훅에 의존합니다.

SKILL.md 원본패키지에 파일 4개