Skip to main content

engram-project-structure

Repository structure and placement rules for Engram. Trigger: Creating files, packages, handlers, templates, styles, or tests in this repo.

소스 정보

저장소
Gentleman-Programming/engram
최근 소스 활동
2026년 3월 7일 19:29
감지된 SKILL.md 언어
영어
스타
7,283
포크
753

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
engram-project-structure
description
Repository structure and placement rules for Engram. Trigger: Creating files, packages, handlers, templates, styles, or tests in this repo.
license
Apache-2.0
metadata
{"author":"gentleman-programming","version":"1.0"}
## When to Use Use this skill when: - Creating a new package, file, or directory - Deciding where code belongs - Adding tests, templates, assets, or docs --- ## Placement Rules 1. Put behavior near its domain, not near the caller that happens to use it. 2. Keep templates in `internal/cloud/dashboard/*.templ` and generated files checked in. 3. Keep dashboard styling in `internal/cloud/dashboard/static/styles.css` unless a new static asset is clearly needed. 4. Put HTTP handlers in server packages, not in store packages. 5. Put persistence queries in store/cloudstore, not in handlers. --- ## File Creation Rules - New route -> handler + tests in dashboard/server package - New DB behavior -> store/cloudstore code + focused tests - New UI partial/page -> templ component + generated `_templ.go` - New contributor guidance -> update docs/catalog in same change --- ## Anti-Patterns - Do not mix SQL, HTML, and transport logic in one file. - Do not create utility packages for one-off helpers. - Do not add package layers unless they remove real coupling.
GitHub에서 보기