원클릭으로
setup-dev
First-time repo setup — submodules, dependencies, and verification
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
First-time repo setup — submodules, dependencies, and verification
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Review the code and run quick checks.
Guide for writing a new Pedro BPF plugin — structured output via .pedro_meta, build setup, and testing.
Complete the required presubmit. Use before declaring a feature finished, after a large refactor or when asked.
| name | setup [dev] |
| description | First-time repo setup — submodules, dependencies, and verification |
Set up the Pedro repository from a fresh clone so it builds and passes all tests.
Switch to the right branch and do a pull
If the user passed dev as argument, the switch to the dev branch before doing anything.
Otherwise switch to master. In both cases, run a git pull --rebase.
Ensure git submodules are checked out
Run git submodule update --init --recursive from the project root. Verify by checking that
vendor/abseil-cpp and vendor/libbpf are non-empty.
Run full setup
Run ./scripts/setup.sh -a to install all build, test, and dev dependencies. This takes a while
— capture output to a temp file. It's normal for this step to take up to 30+ minutes. Check the
output for errors. If setup reports a needed reboot (grub/kernel config changes), inform the user
and stop.
Run quick tests
Invoke /quicktest (no arguments) to run unit tests and verify the build works. If tests fail,
investigate and report — don't proceed to presubmit until unit tests pass.
Run presubmit
Invoke /presubmit to run the full presubmit suite (includes e2e tests, formatting, linting). If
failures occur, investigate and report to the user.
Report results
Summarize what was done and the final state: