원클릭으로
new-lib
Scaffolds a new NX library with correct Vite + Vitest config and @klank/* path alias. Use when adding a new shared library to libs/.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffolds a new NX library with correct Vite + Vitest config and @klank/* path alias. Use when adding a new shared library to libs/.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | new-lib |
| description | Scaffolds a new NX library with correct Vite + Vitest config and @klank/* path alias. Use when adding a new shared library to libs/. |
pnpm nx g @nx/react:lib <name> --directory=libs/<name> --unitTestRunner=vitest
For a non-React utility lib: pnpm nx g @nx/js:lib <name> --directory=libs/<name> --unitTestRunner=vitesttsconfig.base.json §paths: "@klank/<name>": ["libs/<name>/src/index.ts"]libs/<name>/src/index.ts exists as the named barrel file.build to confirm the project reference graph is valid.AGENTS.md §Project Structure.index.ts uses named exports only - remove any export default the generator added.Cannot find module '@klank/<name>' errors; add the alias to tsconfig.base.json §paths.export default → replace with named exports throughout libs/<name>/src/.pnpm-workspace.yaml includes libs/* and nx.json plugin config covers the new lib type.Creates a new self-contained subagent identity in .claude/agents/ and its .github/agents/ (Copilot) and .junie/agents/ (Junie) mirrors. Use when introducing a new expert identity to the klank agent system.
Checks klank's agent setup for consistency - mirror parity, frontmatter, cross-refs, stale paths, descriptions. Use before any commit under .claude/, .github/agents/, or docs/agents/.
Diagnoses a failing CI/CD run via failed-step logs, debug logging, re-runs, flaky triage, and local repro. Loads a platform reference (e.g. github-actions). Use when a pipeline run is failing.
Audits and hardens an existing CI/CD pipeline against supply-chain and injection attacks. Loads a platform reference (e.g. github-actions) with a full checklist. Use when securing pipelines.
Keeps CI/CD pipelines healthy via dependency and runner-image updates, pruning, and reusable-pipeline versioning. Loads a platform reference (e.g. github-actions). Use for routine upkeep.
Scaffolds a secure-by-default CI/CD pipeline - least-privilege, pinned deps, caching, matrices, reusable parts. Loads a platform reference (e.g. github-actions). Use when creating a pipeline.