{"id":50412298,"url":"https://github.com/cskwork/promptbox","last_synced_at":"2026-05-31T04:04:53.012Z","repository":{"id":360120700,"uuid":"1248791533","full_name":"cskwork/promptbox","owner":"cskwork","description":"자주 쓰는 프롬프트·스킬·MCP 설정을 카드/사이드바 UI로 모아두고 한 번 클릭으로 복사해서 쓰는 컬렉션 (Astro + Tailwind, GitHub Pages 호스팅)","archived":false,"fork":false,"pushed_at":"2026-05-25T05:05:09.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-25T05:28:30.558Z","etag":null,"topics":["agents-md","astro","claude-code","claude-md","github-pages","mcp","prompts","tailwindcss"],"latest_commit_sha":null,"homepage":"https://cskwork.github.io/promptbox/","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cskwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-25T03:54:31.000Z","updated_at":"2026-05-25T05:05:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cskwork/promptbox","commit_stats":null,"previous_names":["cskwork/promptbox"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/cskwork/promptbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cskwork%2Fpromptbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cskwork%2Fpromptbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cskwork%2Fpromptbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cskwork%2Fpromptbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cskwork","download_url":"https://codeload.github.com/cskwork/promptbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cskwork%2Fpromptbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33718495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents-md","astro","claude-code","claude-md","github-pages","mcp","prompts","tailwindcss"],"created_at":"2026-05-31T04:04:52.274Z","updated_at":"2026-05-31T04:04:53.007Z","avatar_url":"https://github.com/cskwork.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prompt-collection\n\n자주 쓰는 프롬프트·스킬·MCP 설정을 한 곳에 모아놓고 GitHub Pages에서 카드/사이드바 UI로 바로 복사해서 쓰는 컬렉션 사이트.\n\n- **스택**: Astro 5 + Tailwind 3 + MDX + Content Collections\n- **출력**: 정적 사이트, `dist/` → GitHub Pages\n- **콘텐츠**: `src/content/{prompts,skills,configs,mcps}/*.md`\n\n## 카테고리\n\n| 폴더 | 용도 | 예 |\n|---|---|---|\n| `prompts/` | 그대로 복사해 쓰는 프롬프트 템플릿 | transcription-cleanup |\n| `skills/` | Claude Code · Codex · Hermes용 `SKILL.md` | clone-personalize, stitch-landing |\n| `configs/` | `CLAUDE.md`, `AGENTS.md` 같은 에이전트 시스템 프롬프트 | Ten Commandments |\n| `mcps/` | MCP 서버 설정 스니펫 | (추가 예정) |\n\n## 로컬 실행\n\n```bash\nnpm install\nnpm run dev\n# http://localhost:4321/promptbox\n```\n\n## 빌드\n\n```bash\nnpm run build         # dist/에 정적 사이트 생성\nnpm run preview       # 빌드 결과 미리보기\n```\n\n기본 `site`/`base`는 환경 변수로 덮어쓸 수 있다:\n\n```bash\nSITE_URL=https://example.com BASE_PATH=/my-base npm run build\n```\n\n\u003e **Windows + Git Bash 사용자 주의**: MSYS가 `/my-base` 같은 환경변수를 Windows 경로로 변환해 링크가 `/C:/Program Files/Git/my-base/`로 깨진다. 다음 둘 중 하나로 해결:\n\u003e ```bash\n\u003e MSYS_NO_PATHCONV=1 BASE_PATH=/promptbox npm run build\n\u003e # 또는 PowerShell 사용\n\u003e $env:BASE_PATH = \"/promptbox\"; npm run build\n\u003e ```\n\u003e GitHub Actions(Linux)에서는 이 문제가 없다.\n\n## 항목 추가하는 법\n\n1. 해당 카테고리 폴더에 `.md` 또는 `.mdx` 파일 추가\n2. frontmatter는 `src/content/config.ts` 스키마를 따른다:\n\n```yaml\n---\ntitle: 항목 제목\nsummary: 한 줄 요약 (카드/메타 설명에 노출)\ntags: [tag1, tag2]\nsource: https://github.com/...     # 선택: 원본 링크\nauthor: cskwork                    # 선택\nlicense: MIT                       # 선택\norder: 10                          # 정렬 우선순위 (낮을수록 위)\n# 카테고리별 확장 필드\ntrigger: \"...\"                     # skills 전용\ninstall: \"...\"                     # skills 전용\ntarget_file: \"...\"                 # configs 전용\ntools: [Claude Code]               # configs 전용\nuse_case: \"...\"                    # prompts 전용\n---\n```\n\n3. 본문에는 큐레이션된 설명 + ```` ``` ```` 코드블록으로 복사용 원문을 함께 둔다. 상세 페이지의 \"원문 복사\" 버튼은 frontmatter를 제외한 본문 전체(`entry.body`)를 클립보드에 복사한다.\n\n## GitHub Pages 배포\n\n`.github/workflows/deploy.yml`이 `main` 푸시마다 자동으로:\n\n1. Node 22 + `npm ci`\n2. 저장소 이름을 기준으로 `base`/`site` 자동 계산\n   - `\u003cowner\u003e/\u003cowner\u003e.github.io` 형태 → `base=/`\n   - 그 외 → `base=/\u003crepo-name\u003e`\n3. `npm run build`\n4. `dist/`를 Pages 아티팩트로 업로드 → `deploy-pages@v4`로 게시\n\n리포지토리 Settings → Pages → Source를 **GitHub Actions**로 설정해야 첫 빌드가 게시된다.\n\n## 디렉토리 구조\n\n```\nsrc/\n├── content/\n│   ├── config.ts                # Content Collections 스키마\n│   ├── prompts/*.md\n│   ├── skills/*.md\n│   ├── configs/*.md\n│   └── mcps/*.md\n├── components/\n│   ├── Header.astro             # 상단 nav + 테마 토글\n│   ├── Sidebar.astro            # 좌측 카테고리 네비 + 검색\n│   └── CopyButton.astro\n├── layouts/\n│   └── BaseLayout.astro\n├── pages/\n│   ├── index.astro              # 카드 그리드 홈\n│   ├── [category]/[...slug].astro  # 상세 페이지\n│   └── 404.astro\n└── styles/\n    └── global.css               # Tailwind + 커스텀 prose\n```\n\n## 라이선스\n\n각 콘텐츠 항목의 라이선스는 frontmatter `license` 필드 또는 `source` 링크를 따른다. 사이트 셸 코드 자체는 MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcskwork%2Fpromptbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcskwork%2Fpromptbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcskwork%2Fpromptbox/lists"}