이 프로젝트 실행하기
원본 다운로드 ↓CRM-142: CSV에서 연락처 가져오기
예시 Jira 티켓과 연락처는 가상입니다. 이 로컬 CRM은 브라우저 저장소를 사용하며 Jira나 CRM 계정에 아무것도 업로드하지 않습니다.
1. 프로젝트 열기
자신의 프로젝트를 사용하거나 시작 파일의 압축을 풀고 터미널에서 crm 폴더를 여세요. CRM 예제에는 Node.js 24,, Git, 가드레일용 Python 3.11 이상 및 로그인된 Codex CLI가 필요합니다.
시작 앱을 보려면 다음을 실행하고 node --test tests/contacts.test.js (테스트 5개 통과), 다음을 실행한 뒤 npm start http://127.0.0.1:8830를 여세요. 전체 테스트 실행 시 npm test 명령은 새 src/import.js가 아직 없어 처음에는 실패합니다. 해당 인수 테스트 모음은 변경하지 마세요.
2. AgentBay 받기
이미 AgentBay가 있나요? 이 단계를 건너뛰세요. 없다면 모든 프로젝트에 사용할 수 있도록 한 번 설치하세요:
npx --yes skills@1.7.4 add https://github.com/ravisingh11/agentbay-ultimate-list/tree/bd8399db8fd370a55d9aa315661a653353a7799d/skills/agentbay-skill-installer --skill agentbay-skill-installer --agent codex --yes --global
프로젝트에서 새 Codex 채팅을 시작하고 AgentBay(agentbay-skill-installer)가 Skills에 표시되는지 확인하세요. 두 번째 복사본을 추가하지 말고 기존 프로젝트 설치를 재사용하세요. 전체 AgentBay 체크아웃이나 Jira 계정은 필요하지 않습니다. 스킬과 툴킷 파일을 가져오려면 공개 네트워크 접근이 필요합니다.
3. 티켓 준비
다음을 실행하세요: codex 을 프로젝트 폴더에서 실행하세요. 티켓(예시의 경우 tickets/CRM-142.md)을 이 프롬프트와 함께 붙여 넣으세요:
Use AgentBay to prepare this project for my ticket.
Inspect the project. Find and install only the missing skills this ticket needs. Read their instructions and confirm your agent can load them.
Set up local guardrails with official AI Software Toolkit v2.3.3: https://github.com/ravisingh11/ai-software-toolkit/tree/248d8f02e774e4f75af6ea2de49b466688dfae54. Inspect and use setup-guardrails.py if this project includes it; otherwise follow the toolkit's setup instructions. Keep GitHub Actions off.
Use this project's test commands and run the baseline. Report AgentBay loading, selected skills, missing tools or access, guardrail configuration and test results. Separate expected missing-feature failures from setup problems.
Stop before design or implementation. Do not change application files or tests, commit, deploy or grant account access.
선택된 스킬, 도구 접근 권한, 가드레일 설정 및 기준 테스트 결과가 나와야 합니다. 누락된 설정을 해결한 후 아이디어 탐색을 시작하세요. 준비 단계에서는 티켓을 구현하지 않습니다.
실습 계속하기
기록된 코딩 실행은 obra/superpowers의 brainstorming과 writing-plans를 선택했습니다. 위 설정 프롬프트는 준비 상태를 먼저 확인하는 새로운 진입점이며 새 실행 증빙은 아닙니다. 실제 CLI 프롬프트, 리비전 및 결과는 실행 세부 정보에 유지되어 있습니다. Codex CLI 작업 실행만 테스트했습니다.
결과 확인
다음을 실행하세요: npm test: 완성된 프로젝트는 단위 사례 17개를 통과합니다. 새 브라우저에서 samples/customer-contacts.csv를 고르고 Review CSV를 선택하면 Ready 3, Invalid 1, Duplicate 2이 나와야 합니다. 확인하면 Added 3, skipped 3이며 새로고침 후 연락처 5개가 유지되어야 합니다. 취소 시 아무것도 저장하면 안 됩니다. Fail next save로 복구를 검증하고 재시도는 한 번 성공해야 합니다. 같은 파일을 다시 가져와도 중복을 추가하면 안 됩니다. 기존 검색과 Add contact도 계속 작동해야 합니다.
브라우저 상태는 이 로컬 출처의 agentbay-crm-142-contacts만 사용합니다. 새 브라우저 프로필/컨텍스트에서 초기 상태를 재현합니다. 이 예제는 브라우저 저장소를 사용하며 서버 데이터베이스나 여러 탭 트랜잭션은 사용하지 않습니다. 데스크톱/Claude 실행은 이 CLI 증빙에 포함되지 않습니다.
완성된 프로젝트의 docs/에는 실제 설계와 계획이 들어 있습니다. 글에서는 스크린샷으로 결정을 보여주며 전체 문서도 페이지 안에서 볼 수 있습니다.
06 가드레일
Node.js 24, Git과 함께 Python 3.11 이상이 필요합니다. 티켓을 구현하기 전에 고정된 로컬 툴킷을 설치하고 단위 테스트를 필수 적용하세요:
python3 setup-guardrails.py --yes
git init
git add .
git commit -m "Record CRM starter with enforced unit tests"
PROOF_UNIT_TEST_COMMAND="npm test" python3 .toolkit-cache/ai-toolkit.pyz check --target . --base-ref HEAD --json
시작 프로젝트는 src/import.js가 없어 차단됩니다. 검토된 기능을 구현하고 이 README에 결과를 기록한 뒤 변경을 검토하고 커밋하세요. 그 커밋을 검증합니다:
git add index.html style.css src/app.js src/import.js docs README.md
git commit -m "Implement CRM-142 and document the import flow"
PROOF_UNIT_TEST_COMMAND="npm test" python3 .toolkit-cache/ai-toolkit.pyz check --target . --base-ref STARTER_COMMIT --json
STARTER_COMMIT를 다음 명령이 표시한 전체 SHA로 바꾸세요: git rev-parse HEAD 시작 검증 시점에 표시된 값입니다. 자신의 Git 작성자 정보를 사용하세요. 단위 테스트는 필수로 적용되며 다른 항목은 권고로 유지됩니다. 모든 권고 결과를 읽으세요. ALLOW는 선택한 정책의 결정을 알릴 뿐 커밋, 병합 또는 배포하지 않습니다. 이 설정은 GitHub Actions나 저장소 변수를 활성화하지 않습니다.
원본 파일 및 출처 세부 정보
README.md · SHA-256 591dc1ada59cf750d1b4141219b0245fcf3870352e57d976cf17febb4e60cd77
# CRM-142: import contacts from CSV
The sample Jira ticket and contacts are fictional. This local CRM uses browser storage; nothing is uploaded to Jira or a CRM account.
## 1. Open your project
Use your own project, or unzip the starter and open its crm folder in your terminal. The CRM example needs Node.js 24, Git, Python 3.11+ for guardrails and a signed-in Codex CLI.
To see the starting app, run `node --test tests/contacts.test.js` (five passing tests), then `npm start` and open http://127.0.0.1:8830. Full `npm test` initially fails because the new src/import.js does not exist yet. Keep that acceptance suite unchanged.
## 2. Get AgentBay
Already have AgentBay? Skip this step. Otherwise install it once for all your projects:
```sh
npx --yes skills@1.7.4 add https://github.com/ravisingh11/agentbay-ultimate-list/tree/bd8399db8fd370a55d9aa315661a653353a7799d/skills/agentbay-skill-installer --skill agentbay-skill-installer --agent codex --yes --global
```
Start a fresh Codex chat in your project and confirm AgentBay (agentbay-skill-installer) appears in Skills. Reuse an existing project installation instead of adding a second copy. No full AgentBay checkout or Jira account is needed. Public network access is required to fetch skills and toolkit files.
## 3. Prepare your ticket
Run `codex` in the project folder. Paste your ticket (tickets/CRM-142.md for the sample) with this prompt:
```text
Use AgentBay to prepare this project for my ticket.
Inspect the project. Find and install only the missing skills this ticket needs. Read their instructions and confirm your agent can load them.
Set up local guardrails with official AI Software Toolkit v2.3.3: https://github.com/ravisingh11/ai-software-toolkit/tree/248d8f02e774e4f75af6ea2de49b466688dfae54. Inspect and use setup-guardrails.py if this project includes it; otherwise follow the toolkit's setup instructions. Keep GitHub Actions off.
Use this project's test commands and run the baseline. Report AgentBay loading, selected skills, missing tools or access, guardrail configuration and test results. Separate expected missing-feature failures from setup problems.
Stop before design or implementation. Do not change application files or tests, commit, deploy or grant account access.
```
Expect the selected skills, tool access, guardrail configuration and baseline test results. Resolve missing setup items, then start brainstorming. Preparation does not implement the ticket.
## Continue the walkthrough
The recorded coding run selected brainstorming and writing-plans from obra/superpowers. The setup prompt above is the new readiness-first entry point; it is not a new execution receipt. The article retains the actual CLI prompts, revisions and results under Run details. Only Codex CLI task execution was tested.
## Check the result
Run `npm test`: the finished project passes 17 unit cases. In a fresh browser, select samples/customer-contacts.csv, choose Review CSV and expect Ready 3, Invalid 1, Duplicate 2. Confirm and expect Added 3, skipped 3; reload and verify five contacts remain. Cancel must save nothing. Fail next save exercises recovery; retry should succeed once. Importing the same file again must not add duplicates. Existing search and Add contact must still work.
Browser state uses only agentbay-crm-142-contacts on this local origin. A fresh browser profile/context repeats the initial state. This fixture uses browser storage, not a server database or multi-tab transaction. Desktop/Claude execution is not part of this CLI receipt.
The finished project includes the actual design and plan under docs/. The article shows their decisions with screenshots and keeps the full documents available inside the page.
## 06 Guardrails
Requires Python 3.11+ as well as Node.js 24 and Git. Before implementing the ticket, install the pinned local toolkit and enforce unit tests:
```sh
python3 setup-guardrails.py --yes
git init
git add .
git commit -m "Record CRM starter with enforced unit tests"
PROOF_UNIT_TEST_COMMAND="npm test" python3 .toolkit-cache/ai-toolkit.pyz check --target . --base-ref HEAD --json
```
The starter is blocked because src/import.js does not exist. Implement the reviewed feature, update this README to describe the result, review and commit the changes, then check that commit:
```sh
git add index.html style.css src/app.js src/import.js docs README.md
git commit -m "Implement CRM-142 and document the import flow"
PROOF_UNIT_TEST_COMMAND="npm test" python3 .toolkit-cache/ai-toolkit.pyz check --target . --base-ref STARTER_COMMIT --json
```
Replace STARTER_COMMIT with the full SHA printed by `git rev-parse HEAD` at the starter checkpoint. Use your own Git identity. Unit tests are enforced; other controls stay advisory. Read every advisory finding. ALLOW reports the selected policy decision; it does not commit, merge or deploy. No GitHub Actions or repository variables are enabled by this setup.