Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Add File

ASecurity

Use when adding new source or test files to an existing framework in this project — 새 파일·새 Scene·새 테스트 추가 시점의 배치 경로 라우팅과 절차. Triggers on "파일 추가하자", "새 Scene 만들자", "새 Usecase/Repository 추가". Does NOT trigger on 신규 프레임워크(모듈) 신설(add-framework 스킬), 기존 파일 수정.

15 stars
0 votes
0 copies
0 views
Added 9/22/2026
testingswifttesting

Security Analysis

A100/100

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add sudopark/TodoCalendar --skill add-file --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add File?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Add File
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sudopark-add-file/badge)](https://www.skillsdirectory.com/skills/sudopark-add-file)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: add-file
description: Use when adding new source or test files to an existing framework in this project — 새 파일·새 Scene·새 테스트 추가 시점의 배치 경로 라우팅과 절차. Triggers on "파일 추가하자", "새 Scene 만들자", "새 Usecase/Repository 추가". Does NOT trigger on 신규 프레임워크(모듈) 신설(add-framework 스킬), 기존 파일 수정.
---

# Add File — 기존 프레임워크에 파일 추가

**규칙성 관례는 rules가 다룬다** — 파일 헤더·import 순서(`file-conventions.md`), 테스트 배치·네이밍(`testability.md` §8), Scene 폴더 조직(`presentations-rules.md` §3). path 매칭으로 자동 로드되니 이 스킬은 절차만 담당한다.

## 1. 배치 경로 결정 — 레이어별 라우팅

| 추가 대상 | 위치 | 세부 기준 |
|---|---|---|
| Domain 모델 | `Domain/Sources/Models/<서브도메인>/` | 서브도메인 분리 기준: `Domain/CLAUDE.md` |
| Usecase | `Domain/Sources/Usecases/<서브도메인>/` | bypass만 하면 typealias (`Domain/CLAUDE.md`) |
| Service 구현체 (플랫폼·서드파티 SDK 결합) | `Services/<프레임워크>/Sources/` | 프로토콜은 Domain에 두고 구현만 — 소속 프레임워크 축은 add-framework 스킬 §1 |
| Repository 프로토콜 | `Domain/Sources/Repositories/<서브도메인>/` | |
| Repository 구현 | `Repository/Sources/Repository+Imple/<서브도메인>/` | 3-Layer 패턴: `Repository/CLAUDE.md`. JSON 매핑은 같은 폴더 `Xxx+Mapping.swift` (repository-rules §2) |
| 새 Scene (6파일) | 해당 Scene 프레임워크 | 템플릿·생성 순서·체크리스트: `docs/화면단위구조.md`. 폴더 위치: presentations-rules §3 |
| 공용 UI 컴포넌트 | `Presentations/CommonPresentation/Sources/` | 작성 전 인벤토리 확인 (presentations-rules §2) |
| 공유 Scene 프로토콜 | `Presentations/Scenes/Sources/Scenes+*.swift` | 모듈 간 직접 import 금지 (presentations-rules §7) |

## 2. 테스트 파일 동반

- `Tests/`에 Sources 미러 경로로 `XxxImpleTests.swift` (testability §8). 더블은 `Tests/Doubles/`.
- 테스트 프레임워크 선택(XCTest vs Swift Testing)·더블 네이밍은 testability §1·§2.

## 3. tuist generate

파일 추가/삭제/이동 **직후** `mise exec -- tuist generate --no-open`. 테스트·빌드는 반드시 generate 후 (implement 스킬 원칙과 동일).

## 4. 완료 판정

impact-check → 영향 스킴 테스트 → 짝 경고 해소는 implement 스킬이 규정한다 — 해당 시점에 함께 invoke한다.

Attribution

sudoparksudopark
View sourceMore from sudopark →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Screen Reader Testing

Practical guide to testing web applications with screen readers for comprehensive accessibility validation.

397921 votes

Golang Testing

Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。

2456590 votes

Springboot Tdd

使用JUnit 5、Mockito、MockMvc、Testcontainers和JaCoCo进行Spring Boot的测试驱动开发。适用于添加功能、修复错误或重构时。

2456590 votes

Tdd Workflow

在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。

2456590 votes

Python Testing

使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。

2456590 votes
View all in testing →