Skip to content

refactor: migrate skill domain to features/skill directory#35

Merged
ohing504 merged 3 commits intomainfrom
refactor/skill-domain
Mar 19, 2026
Merged

refactor: migrate skill domain to features/skill directory#35
ohing504 merged 3 commits intomainfrom
refactor/skill-domain

Conversation

@ohing504
Copy link
Owner

Summary

  • Skill/Command 도메인 파일을 src/features/skill/로 통합 이관 (hook 패턴과 동일한 feature directory 구조)
  • utils 4개 파일(skill-utils, skill-install-status, slash-command, skill-constants) → 단일 utils.ts로 병합
  • skillConfig + commandConfig → 단일 config.ts로 병합
  • use-skills + use-skill-detail → 단일 queries.ts로 병합
  • 유닛 테스트(utils.test.ts, config.test.ts) 및 integration 테스트(service.test.ts) co-locate
  • 관련 문서 최신화 (ARCHITECTURE, CONVENTIONS, DESIGN-SYSTEM, TESTING, ROADMAP)

Test plan

  • pnpm typecheck 통과
  • pnpm lint 통과
  • pnpm test 통과 (322 tests, 31 files)
  • pnpm build 통과
  • 기존 15개 파일 삭제 확인
  • import 잔존 없음 확인 (grep)

🤖 Generated with Claude Code

ohing504 and others added 3 commits March 19, 2026 01:16
…acklog

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Move types, utils, config, service, server, queries, components to src/features/skill/
- Merge 4 util files (skill-utils, skill-install-status, slash-command, skill-constants) into single utils.ts
- Merge skillConfig + commandConfig into single config.ts
- Merge use-skills + use-skill-detail into single queries.ts
- Co-locate unit tests (utils.test.ts, config.test.ts) and integration tests (service.test.ts)
- Update all import paths across codebase
- Update docs (ARCHITECTURE, CONVENTIONS, DESIGN-SYSTEM, TESTING, ROADMAP)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ohing504 ohing504 merged commit 6eee531 into main Mar 19, 2026
1 check passed
@ohing504 ohing504 deleted the refactor/skill-domain branch March 19, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant