cloudbase-code-review skill
✓ 인증됨Linting 및 시맨틱 리뷰를 통해 보안 설정 오류, 데이터베이스 에러, SDK API 오용을 확인하여 CloudBase 구현을 검증합니다.
- GitHub 스타
- 1,164
- 파일
- 13
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- MIT
- 허용된 도구
- —
cloudbase-code-review skill은 무엇을 하나요?
Linting 및 시맨틱 리뷰를 통해 보안 설정 오류, 데이터베이스 에러, SDK API 오용을 확인하여 CloudBase 구현을 검증합니다.
skill의 SKILL.md에서 생성된 요약입니다.
cloudbase-code-review skill 정보
이 SKILL의 주요 기능은 CloudBase 구현의 보안성과 정확성을 검증하는 것입니다. Web, miniprogram, CloudRun 또는 cloud-function 프로젝트를 진행하는 개발자가 배포 전 auth guard 오용, 데이터베이스 테이블 누락, RLS 설정 오류와 같은 일반적인 실수를 방지하기 위해 사용합니다. 인증, 데이터베이스 CRUD 작업, storage 설정 등의 기능을 구현한 후 최종 점검 단계로 활용할 수 있습니다.
도구는 두 가지 계층으로 작동합니다. 첫 번째는 선택 사항인 linting 계층으로, 사용자가 임시 cloudbase-lint.mjs 스크립트를 사용하여 로컬 node 명령을 실행함으로써 패턴 불일치 및 잘못된 API 호출에 대해 결정론적인 정규식 검사를 수행할 수 있습니다. 두 번째는 LLM 시맨틱 리뷰 계층으로, 코드 로직을 검사하여 아키텍처 문제와 완성도를 확인합니다. 이 과정은 규칙 인덱스와 postgresql, storage와 같은 모듈별 마크다운 파일을 포함한 구조화된 참조 파일 세트를 기반으로 수행됩니다.
agent가 수행할 수 있는 작업
- 1인증 보안 검증로그인, 회원가입 또는 route guard 구현이 보안 베스트 프랙티스를 따르는지 확인합니다.
- 2SDK API 오용 탐지자동화된 정규식 기반 linting을 실행하여 잘못된 API 호출이나 누락된 설정을 찾아냅니다.
- 3자격 증명 유출 방지Cloud Function 또는 CloudRun 핸들러를 검사하여 헤더나 자격 증명이 유출되지 않도록 합니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
cloudbase-code-review skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.Claude Code에 cloudbase-code-review skill 설치
~/.claude/skills/cloudbase-code-review/SKILL.md
$ npx degit TencentCloudBase/CloudBase-AI-Toolkit/config/.claude/skills/cloudbase-code-review ~/.claude/skills/cloudbase-code-reviewClaude Code (project)에 cloudbase-code-review skill 설치
.claude/skills/cloudbase-code-review/SKILL.md
$ npx degit TencentCloudBase/CloudBase-AI-Toolkit/config/.claude/skills/cloudbase-code-review .claude/skills/cloudbase-code-reviewCodex에 cloudbase-code-review skill 설치
~/.agents/skills/cloudbase-code-review/SKILL.md
$ npx degit TencentCloudBase/CloudBase-AI-Toolkit/config/.claude/skills/cloudbase-code-review ~/.agents/skills/cloudbase-code-reviewGemini CLI에 cloudbase-code-review skill 설치
~/.gemini/skills/cloudbase-code-review/SKILL.md
$ npx degit TencentCloudBase/CloudBase-AI-Toolkit/config/.claude/skills/cloudbase-code-review ~/.gemini/skills/cloudbase-code-reviewClaude.ai에 cloudbase-code-review skill 설치
npx degit TencentCloudBase/CloudBase-AI-Toolkit/config/.claude/skills/cloudbase-code-review cloudbase-code-review && zip -r cloudbase-code-review.zip cloudbase-code-review # claude.ai → Customize → Skills → + → Create skill → Upload a skill → cloudbase-code-review.zip
자동 검사
2026년 11월 15일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 보안 감사는 아닙니다. 에이전트가 실행하기 전에 스크립트를 읽어 보세요. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능tencentcloudbase/cloudbase-ai-toolkit/config/.claude/skills/cloudbase-code-review is public and reachablegithub.com/tencentcloudbase/cloudbase-ai-toolkit/tree/HEAD/c ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit 2026-11-11github.com/tencentcloudbase/cloudbase-ai-toolkit/commits ↗통과
- 스크립트에 다운로드 후 실행이나 자격 증명 탈취가 없음No scripts in the skill folder통과
- SKILL.md에 숨겨진 지침 없음No override phrases, safeguard switches, credential requests or hidden charactersgithub.com/tencentcloudbase/cloudbase-ai-toolkit/blob/HEAD/c ↗통과
- 사전 허용 도구가 제한됨No pre-approved tools; the agent asks before using onegithub.com/tencentcloudbase/cloudbase-ai-toolkit/blob/HEAD/c ↗통과
- SKILL.md가 Agent Skills 형식을 따름the description does not say when to use the skillgithub.com/tencentcloudbase/cloudbase-ai-toolkit/blob/HEAD/c ↗결함 발견
SKILL.md
GitHub에서 보기Sibling skills (local only)
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.
CloudBase Code Review
One-liner: After implementing CloudBase features, call this skill to catch common mistakes before users do.
When to use
Call this skill after completing a CloudBase implementation task, before declaring done:
- You implemented auth (login / register / route guard)
- You created database tables or wrote CRUD (NoSQL / PostgreSQL / MySQL)
- You set up CloudBase Storage (file upload, hosting)
- You configured security rules or RLS policies
- You wrote MCP-dependent code
- You wrote Cloud Function or CloudRun HTTP handlers (check for credential / header echo leaks)
How it works
The skill runs in two layers:
| Layer | Method | Speed | What it catches |
|---|---|---|---|
| Lint (optional) | No executable script is shipped. If the user approves running lint, review the code block in references/lint-rules/README.md, copy it to a temporary local cloudbase-lint.mjs, then run node cloudbase-lint.mjs --project-dir <path> |
Seconds | Deterministic regex checks — wrong API calls, missing configs, pattern mismatches |
| LLM review | Read each rule's "LLM 检查" section, inspect code semantically | Variable | Semantic issues — route guard logic, RLS completeness, architecture-level problems |
Rule index
See references/RULES_INDEX.md for the full matrix (module × frontend type → applicable rules).
Rule boundary
Do not promote a single failed run or case-specific workaround into a hard rule. A rule should be backed by stable SDK/API documentation, repeated failures, or deterministic runtime behavior. Case-specific observations belong in attribution reports; only broadly applicable constraints should enter RULES_INDEX.md or the optional lint checklist.
Quick start
# Step 1: Read relevant rules for identified modules
# references/rules/cross-cutting/AUTH001.md
# references/rules/cross-cutting/SEC001.md
# references/rules/postgresql/PG-CR001.md
# ...
# Optional: if the user approves running lint, review the script code block in
# references/lint-rules/README.md, copy it to a temporary cloudbase-lint.mjs,
# then run: node cloudbase-lint.mjs --project-dir .
# Step 2: For each applicable rule, read the "LLM 检查" section
# and manually inspect your code before claiming done.
Rule format
Each rule .md file follows this structure:
# RULE-ID Rule Name
- **Module**: which module (auth / postgresql / storage / ...)
- **Severity**: error | warning
- **Stage**: code-generation | deployment | config
## 正则检查 (Lint)
The condition checked by the optional script code block in `references/lint-rules/README.md`.
## LLM 检查
Semantic review prompt for human or LLM to evaluate.
## 修复指引
How to fix the issue.
Reference index
All packaged reference files (required for skill lint reachability):
- RULES_INDEX.md
- lint-rules/README.md
- rules/cross-cutting/AUTH001.md
- rules/cross-cutting/SEC001.md
- rules/cross-cutting/SKILL001.md
- rules/postgresql/PG-CR001.md
- rules/postgresql/PG-CR002.md
- rules/postgresql/PG-CR003.md
- rules/postgresql/PG-CR004.md
- rules/postgresql/PG-CR005.md
- rules/storage/STORAGE001.md
이 스킬의 파일
13cloudbase-code-review skill 질문
Claude Code에 cloudbase-code-review skill을 어떻게 설치하나요?
npx degit TencentCloudBase/CloudBase-AI-Toolkit/config/.claude/skills/cloudbase-code-review ~/.claude/skills/cloudbase-code-review를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
cloudbase-code-review skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
어떤 종류의 문제를 탐지할 수 있나요?
auth guard 오용, 데이터베이스 테이블 누락, RLS 설정 오류, storage 도메인 설정 오류 및 SDK API 오용을 식별합니다.
이 SKILL로 자동 Linting을 실행할 수 있나요?
네, 사용자가 승인하면 lint-rules README의 코드 블록을 임시 파일로 복사하고 Node.js로 실행하여 로컬 lint 스크립트를 구동할 수 있습니다.