소스 정보
- 저장소
- stoa-platform/stoa
- 최근 소스 활동
- 2026년 2월 15일 08:23
- 감지된 SKILL.md 언어
- 영어
- 스타
- 5
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/stoa-platform/stoa --skill ci-fix명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Force a full-file rewrite (Write) instead of patch (Edit) when Edit keeps failing or diff is large. Context rot mitigation — use when Edit has failed ≥2× on same file, or when estimated diff >30% of file size.
STOA PR Guardian — advisory three-axis review (ADR compliance, security, AI code smell) with binary GO/NO-GO verdict + confidence. Never approves, never blocks merge.
Analyze cycle capacity gap and propose backlog items to fill the sprint to ~80% of proven velocity.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | ci-fix |
| description | Auto-fix CI failures (lint, format, type errors). Diagnoses, fixes, commits and pushes. |
| argument-hint | [PR-number|run-url] |
git branch --show-currentgh pr checks 2>/dev/null | head -20gh run list --limit 5 --json name,status,conclusion,headBranch --template '{{range .}}{{.name}} | {{.status}} | {{.conclusion}} | {{.headBranch}}{{"\n"}}{{end}}' 2>/dev/nullAuto-fix CI failure for: $ARGUMENTS
If PR number:
gh pr checks $ARGUMENTS
gh run list --branch $(gh pr view $ARGUMENTS --json headRefName -q .headRefName) --limit 3
If workflow run URL or ID:
gh run view $ARGUMENTS --log-failed
# Get the failed run ID, then read logs
gh run view <run-id> --log-failed 2>&1 | head -200
Auto-fixable (proceed to Step 4):
| Check | Error pattern | Fix command |
|---|---|---|
| Python lint (ruff) | Found N errors | cd <component> && ruff check --fix . |
| Python format (black) | would reformat | cd <component> && black . |
| Python import order | I001 | cd <component> && ruff check --fix --select I . |
| TS/JS lint (eslint) | N problems (N errors, N warnings) | cd <component> && npm run lint -- --fix |
| TS/JS format (prettier) | Code style issues | cd <component> && npx prettier --write . |
| Rust format | Diff in | cd stoa-gateway && cargo fmt |
| Rust clippy (simple) | warning: with help: ... suggestion | cd stoa-gateway && cargo clippy --fix --allow-dirty |
NOT auto-fixable (report and STOP):
| Category | Examples |
|---|---|
| Logic errors | Test assertions failing, wrong behavior |
| Test failures | vitest/pytest/cargo test failures |
| Security issues | Gitleaks, Bandit findings, SAST violations |
| Type errors (complex) | Missing interfaces, wrong generics |
| Build errors | Missing dependencies, Docker build failures |
| Infrastructure | K8s deploy, ArgoCD, Helm issues |
If the failure is NOT auto-fixable, report what you found and stop. Do NOT attempt manual fixes.
Run the appropriate fix command from the table above. Then verify locally:
Python:
cd <component> && ruff check . && black --check .
TypeScript:
cd <component> && npm run lint && npm run format:check
Rust:
cd stoa-gateway && cargo fmt --check && RUSTFLAGS=-Dwarnings cargo clippy --all-targets --all-features -- -D warnings
GUARDRAILS (mandatory checks before any git operation):
# Verify we are NOT on main
BRANCH=$(git branch --show-current)
if [ "$BRANCH" = "main" ] || [ "$BRANCH" = "master" ]; then
echo "ABORT: Cannot push CI fixes to main. Checkout the feature branch first."
exit 1
fi
Then commit and push:
git add <only-fixed-files>
git commit -m "fix(ci): auto-fix <check-name> lint/format issues"
git push
## CI Fix: [check-name] on [branch]
### Fixed
- **Check**: [failing check name]
- **Error**: [error summary]
- **Fix**: [command run]
- **Files**: [list of modified files]
### Verification
- Local check: PASS/FAIL
- Pushed to: [branch]
### Not Fixed (if any)
- [check]: [reason — requires manual intervention]
Append metrics entry:
Append to ~/.claude/projects/.../memory/metrics.log:
YYYY-MM-DDTHH:MM | CI-FIX | task=<current-task> check=<check-name> auto_fixed=true|false
--force push--no-verify on commits