Fix lint type errors
Skill coreline-ai/codex-skill-factory/Test/skill-case-100-prompts/generated-skills/fix-lint-type-errors
Codex 프롬프트 패턴을 분석해 Skill 후보 생성·설치까지 지원하는 로컬 CLI | Local CLI that analyzes Codex prompt patterns and generates installable Skills
npx -y skills add coreline-ai/codex-skill-factory --skill fix-lint-type-errorsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when the user asks to fix lint, formatting, typecheck, mypy, tsc, ruff, eslint, or static analysis errors.
SKILL.md
4.7 KB, as published. Nobody here has run it
Lint and Type Error Fixer
When to use
- lint 오류 수정을 요청할 때
- 타입 체크 실패를 해결해야 할 때
When not to use
- 런타임 버그 수정을 요청하는 경우
Goal
Fix lint and type errors with minimal behavior-changing edits.
Workflow
- 실패 명령과 출력을 확인한다.
- 오류를 파일별로 그룹화한다.
- 자동 포맷과 수동 수정을 구분한다.
- 동작 변경 없이 최소 수정한다.
- 동일 명령을 다시 실행한다.
Verification
- 원래 실패한 명령을 다시 실행한다.
Do not
- 무리하게 any로 덮지 않는다.
- lint rule을 이유 없이 비활성화하지 않는다.
Output format
- Root cause
- What changed
- Files touched
- Validation
- Risks
Prompt quality guide
A good prompt for this skill should include:
- Goal: Fix lint and type errors with minimal behavior-changing edits.
- Target/input: 작업 대상 파일, diff, 로그, URL, 문서, 이슈 또는 저장소 범위
- Constraints: scope limits, non-goals, style, and compatibility requirements
- Workflow: a repeatable step-by-step process
- Verification: 원래 실패한 명령을 다시 실행한다.
- Output: Root cause, What changed, Files touched, Validation, Risks
Task contract
- Archetype:
fix - Intent invariant: Fix lint and type errors with minimal behavior-changing edits.
Variable slots
target(required): 작업 대상 파일, diff, 로그, URL, 문서, 이슈 또는 저장소 범위 → [작업 대상]constraints: 수정 범위, 금지사항, 스타일, 호환성 조건, 제외 범위 → [제약사항]verification(required): 테스트, lint, 빌드, 수동 확인 등 완료 여부를 판단할 기준 → [검증 기준]output_format(required): 결과 응답에 포함해야 할 섹션과 형식 → [출력 형식]
Better prompt templates
Minimal
Fix lint and type errors with minimal behavior-changing edits. 대상은 [작업 대상]입니다. 완료 후 원래 실패한 명령을 다시 실행한다. 기준으로 확인하고 Root cause, What changed, Files touched, Validation, Risks 형식으로 요약해줘.
High-signal
Fix lint and type errors with minimal behavior-changing edits.
대상:
- [작업 대상]
제약:
- [수정 범위와 금지사항]
- 확인하지 않은 사실은 단정하지 않기
절차:
1. 먼저 목표, 입력, 현재 상태를 확인해줘.
2. 필요한 최소 범위로 작업해줘.
3. 원래 실패한 명령을 다시 실행한다. 기준으로 검증해줘.
4. 실패나 불확실성이 있으면 원인과 후속 조치를 적어줘.
출력:
- Root cause, What changed, Files touched, Validation, Risks
Clarifying
이 요청은 `fix` 유형으로 보입니다. 작업 전에 대상, 제약, 검증 기준, 출력 형식이 불명확하면 먼저 질문해줘.
Ask when unclear
- 작업 대상 파일, diff, 로그, URL, 문서는 무엇인가요?
- 불확실한 정보가 있으면 작업 전에 질문해도 되나요?
Quality checklist
- 목표가 한 문장으로 명확한가?
- 작업 대상 또는 입력 자료가 명시됐는가?
- 수정 범위와 하지 말아야 할 일이 분리됐는가?
- 반복 가능한 절차가 순서대로 정의됐는가?
- 검증 방법과 완료 기준이 포함됐는가?
- 결과 출력 형식이 정해졌는가?
- 특정 파일명/브랜치/고객명에 과적합되지 않았는가?
Generalization notes
- 예시 프롬프트는 evidence로만 사용하고 Skill 본문에는 일반화된 패턴을 남긴다.
- 특정 파일명, URL, 브랜치, 날짜는 가능한 variable slot으로 취급한다.
- 한 번만 등장한 세부 조건은 고정 규칙이 아니라 확인 질문으로 전환한다.
- 수정형 Skill은 원인 분석과 검증 명령을 항상 포함해야 한다.
Prompt quality score
- Overall: 83
- intent_clarity: 90
- input_specificity: 55
- constraint_clarity: 75
- workflow_reusability: 90
- verification_strength: 100
- output_specificity: 85
- generalization_safety: 88
Install readiness
- Grade: review_recommended
- Recommendation: preview에서 변수/검증 기준을 확인한 뒤 promote하세요.
- Blocker: 작업 대상 신호가 부족합니다.
Diagnostics
- 입력 대상이 예시에서 충분히 명확하지 않습니다.
Evidence
- ruff check 실패 lint 오류 수정해줘
- mypy 타입 에러와 typecheck 실패를 고쳐줘
- eslint prettier format 문제 정리해줘
- tsc 타입 오류 해결하고 동작 변경 없이 수정