본문으로 건너뛰기
Skillpedia
일반 코딩15k · #10978

principle-foundational-thinking

하는 일

로직을 쓰기 전에 데이터 형태와 작업 순서를 설계하는 규칙을 에이전트에 제공합니다. 튼튼한 기반을 원하고 재작성을 줄이려는 엔지니어를 위한 스킬입니다.

사용하는 경우

  • ✓핵심 타입이나 데이터 구조를 고르려고 할 때.
  • ✓설정 작업을 기능보다 먼저 해야 할지 정할 때.
  • ✓시스템의 여러 부분이 같은 공유 데이터를 바꿀 수 있을 때.

스킬 링크

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-foundational-thinking/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-foundational-thinking/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“동기화 로직을 쓰기 전에 핵심 데이터 타입부터 올바르게 잡아 주세요. 그러면 나머지가 단순해질 겁니다.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 먼저 핵심 데이터 형태를 정의하고, 그 데이터가 어떻게 접근되는지 추적합니다. 테스트와 타입 같은 공유 설정을 기능보다 먼저 정리하며, 새 기반을 추가하기 전에 쓰이지 않는 코드를 제거합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Foundational Thinking

Structural decisions protect option value. Code-level decisions protect simplicity.

Data structures first. Get the data shape right before writing logic. Define core types early, trace every access pattern, and choose structures that match the dominant paths.

At code level, DRY the structure, not every line. Types and data models should converge. Three similar statements still beat a premature abstraction. Prefer explicit over clever. Test behavior and edge cases, not line counts.

Concurrency corollary. Before sharing state between actors, ask "what happens if another actor modifies this concurrently?" If not "nothing", isolate.

Scaffold first. If something helps every later phase, do it first. Ask "does every subsequent phase benefit from this existing?" CI, linting, test infrastructure, and shared types are scaffold. Sequence for option value: setup before features, tests before fixes. Keep commits small and single-purpose.

Each increment should land a coherent abstraction or deepen one that exists. Do not spread a new capability across callers as special-case coordination.

Subtraction comes before scaffolding. Remove dead code first, then lay foundations.

자주 묻는 질문

데이터 구조를 먼저 맞춰야 하는 이유는?

데이터 형태가 주요 경로에 맞으면, 그 뒤의 코드는 자연스럽게 분명해지는 경우가 많습니다.

모든 것을 추상화한다는 뜻인가요?

아닙니다. 이 스킬은 명시적인 코드를 선호하고, 이른 추상화를 경계합니다.

공유 상태는 어떻게 하나요?

동시에 작동하는 주체들이 상태를 공유할 필요가 정말 있는지 먼저 묻고, 필요가 없다면 분리합니다.

상세 정보

작성자의 원본 설명

Apply before writing logic: choosing core types and data structures, sequencing scaffold-vs-feature work, asking what concurrent actors share. Get the data structures right so downstream code becomes obvious.

repo: cursor/plugins

인기도

GitHub 스타
15k
순위
#10978
라이선스
—
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬