소스 정보
- 저장소
- carrot-foundation/schemas
- 최근 소스 활동
- 2026년 3월 25일 20:55
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/carrot-foundation/schemas --skill create-pr명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
Schema version injection, $id format, and SCHEMA_VERSION environment variable
Generated JSON Schema structure — required fields, validation patterns, and $ref usage
Use when a task is complete and needs the full check, commit, and PR workflow
| name | create-pr |
| description | Use when work is ready for review and a pull request needs to be created |
Create a pull request for the schemas repository with a clear description, after verifying all quality gates pass.
Before creating the PR, ensure all quality gates pass:
pnpm check
If any step fails, fix the issue before proceeding. Do not create a PR with failing checks.
Also verify you are on a feature branch (not main):
git branch --show-current
Understand the full scope of the PR by examining all commits since diverging from main:
# View all commits in this branch
git log main..HEAD --oneline
# View the full diff against main
git diff main...HEAD
# View changed files summary
git diff main...HEAD --stat
Evaluate PR size to ensure it is reviewable:
If the PR is too large, suggest splitting it:
# Count lines changed (excluding generated files)
git diff main...HEAD --stat -- ':!schemas/ipfs/' ':!*.json'
Common split strategies:
The PR title should be clear and descriptive -- NOT in conventional commit format.
Good examples:
Bad examples:
Structure the description following this template:
## Summary
- <1-3 bullet points describing what changed and why>
## Test plan
- [ ] All quality gates pass (`pnpm check`)
- [ ] 100% test coverage maintained
- [ ] Generated JSON schemas are valid
- [ ] Examples validate against schemas
- [ ] <additional test items specific to the changes>
Push the branch and create the PR using gh:
# Push the branch to remote
git push -u origin HEAD
# Create the PR
gh pr create --title "Add MassID IPFS schema definitions" --body "$(cat <<'EOF'
## Summary
- Add MassID IPFS schema with data, attributes, and NFT schema definitions
- Include comprehensive tests with 100% coverage
- Regenerate JSON schemas and examples
## Test plan
- [ ] All quality gates pass (`pnpm check`)
- [ ] 100% test coverage maintained
- [ ] Generated JSON schemas are valid
- [ ] Examples validate against schemas
EOF
)"
If there is a related GitHub issue, link it in the PR body:
## Summary
- Closes #42
- Add MassID IPFS schema definitions
Or use the --assignee and --label flags:
gh pr create --title "..." --body "..." --assignee @me --label "schema"
After creating the PR:
Verify the PR was created correctly:
gh pr view --web
Wait for CI to run and confirm checks pass remotely.
Wait for CodeRabbit review (automatic) and address any findings.
Report the PR URL to the user.
| Issue | Solution |
|---|---|
gh not authenticated | Run gh auth login |
| Branch not pushed | Run git push -u origin HEAD before gh pr create |
| No remote tracking | Use git push -u origin HEAD to set upstream |
| CI fails but local passes | Check Node version matches .nvmrc; ensure pnpm-lock.yaml is committed |
| PR too large | Split into multiple PRs by concern |
Before marking the PR as ready for review:
pnpm check passes locallymain