본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)101k · #978

build-test

하는 일

코드가 올바르게 작동하고 테스트가 통과하는지 확인합니다. 오류를 검사하고 테스트를 실행하는 명령을 돌려, 모든 것이 '통과'했는지 '실패'했는지 알려 줍니다.

사용하는 경우

  • ✓코드를 수정한 후.
  • ✓작업을 제출하기 전.
  • ✓계속하기 전에 모든 것이 작동하는지 확인할 때.

스킬 링크

https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/build-test/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/build-test/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“코드와 테스트가 작동하는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

프로젝트에 정의된 빌드와 테스트 명령을 실행합니다. 그다음 빌드와 테스트가 성공했는지 실패했는지 알려 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Build test

Spec §20.2 / §22.4: the "subjective critique-theater panel" is not enough on its own — a code-migration / tune-collab run must prove the build still passes. This atom shells out to the project's declared test commands and emits structured signals the devloop's until evaluator reads.

Inputs

  • The active target stack (recorded in code/index.json + plan.md's targetStack block).
  • The user's optional override (od plugin run --input testCommand='pnpm test').

Default commands by framework

framework typecheck test
next pnpm typecheck pnpm test
vite pnpm typecheck pnpm test
remix pnpm typecheck pnpm test
custom (read from package.json.scripts) (read from package.json.scripts)

Output

project-cwd/
└── critique/
    ├── build-test.json   # { build: 'passing' | 'failing', tests: 'passing' | 'failing' | 'skipped', durationMs, commandsRun: [...], failures: [...] }
    └── build-test.log    # raw stdout / stderr (truncated to the runner's logBudgetBytes limit, default 1 MiB)

The atom emits two signals the devloop reads:

  • build.passing: boolean — the typecheck command exited 0.
  • tests.passing: boolean — the test command exited 0.

Plus the legacy critique.score so existing pipelines that read the score keep working: 5 when both pass, 3 when only build passes, 1 when both fail.

Convergence

Pipelines wire the atom into a devloop:

{
  "id": "verify",
  "atoms": ["patch-edit", "build-test"],
  "repeat": true,
  "until": "(build.passing && tests.passing) || iterations >= 8"
}

Anti-patterns the prompt fragment forbids

  • Running tests on a partially-edited working tree (the atom always runs after patch-edit, and only when plan.steps's current step is in completed state).
  • Suppressing test failures by changing test files; that violates the rewrite-plan ownership rule.
  • Setting tests: 'skipped' without a non-empty reason field.

Status

Implemented by the daemon runner in apps/daemon/src/plugins/atoms/build-test.ts. It executes the configured build and test commands, bounds runtime and captured logs, and persists the report and log outputs above.

자주 묻는 질문

'build'와 'test'는 무엇인가요?

'Build'는 코드가 오타나 문법 오류 없이 올바르게 쓰였는지 확인하는 과정입니다. 'Test'는 코드의 기능이 기대대로 작동하는지 자동으로 확인하는 것입니다.

실패하면 어떻게 되나요?

'build'나 'test'가 실패하면 알려 줍니다. 계속하기 전에 코드의 오류를 고쳐야 합니다.

어떤 명령을 실행할지 어떻게 아나요?

사용 중인 프로젝트 종류(Next, Vite 등)의 기본 명령을 쓰거나, 프로젝트 파일에 정의된 명령을 읽습니다.

상세 정보

작성자의 원본 설명

Run the project's build / typecheck / lint / test commands and emit the build.passing + tests.passing signals devloop convergence reads.

repo: nexu-io/open-design

인기도

GitHub 스타
101k
순위
#978
라이선스
Apache-2.0
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬