frontend-starter-kit
Bootstrap the frontend toolchain, lint, quality gates, React stack, data stack, and CI.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- frontend-starter-kit
- description
- Bootstrap the frontend toolchain, lint, quality gates, React stack, data stack, and CI.
- argument-hint
- [profile: full | minimal | redpanda | <tool name>]
- disable-model-invocation
- true
02 资源文件 53
- 参考文档REFERENCE.md4.2 KB
- 参考文档references/agent-config/README.md1.1 KB
- 参考文档references/agent-config/REFERENCE.md5.4 KB
- 脚本references/agent-config/scripts/llm-env.sh364 B
- 脚本references/agent-config/scripts/llm-test-flags.sh2.8 KB
- 脚本references/agent-config/scripts/llm-truncate.sh785 B
- 参考文档references/biome/README.md1.7 KB
- 参考文档references/biome/REFERENCE.md7.2 KB
- 脚本references/biome/scripts/biome-autofix.sh3.5 KB
- 脚本references/biome/scripts/source-hook-lib.sh31 B
- 参考文档references/ci-pipeline/README.md1.0 KB
- 参考文档references/ci-pipeline/REFERENCE.md2.8 KB
- 参考文档references/conventional-commits/README.md960 B
- 参考文档references/conventional-commits/REFERENCE.md613 B
- 脚本references/conventional-commits/scripts/_hook-lib.sh24 B
- 脚本references/conventional-commits/scripts/conventional-commits-check.sh3.3 KB
- 参考文档references/env-validation/README.md1.0 KB
- 参考文档references/env-validation/REFERENCE.md1.2 KB
- 脚本references/env-validation/scripts/_hook-lib.sh24 B
- 参考文档references/quality-gate/README.md1.4 KB
- 参考文档references/quality-gate/REFERENCE.md3.0 KB
- 脚本references/quality-gate/scripts/source-hook-lib.sh31 B
- 脚本references/quality-gate/scripts/test-perf-check.sh3.9 KB
- 脚本references/quality-gate/scripts/test-perf-stop.sh6.3 KB
- 脚本references/quality-gate/scripts/typecheck-stop.sh4.4 KB
- 参考文档references/react-compiler/README.md1.3 KB
- 参考文档references/react-compiler/REFERENCE.md5.6 KB
- 脚本references/react-compiler/scripts/_hook-lib.sh24 B
- 参考文档references/react-doctor/design-rules-0.9.12.txt4.4 KB
- 参考文档references/react-doctor/doctor.config.json10.2 KB
- 参考文档references/react-doctor/README.md2.3 KB
- 参考文档references/react-doctor/REFERENCE.md6.6 KB
- 脚本references/react-doctor/scripts/react-doctor-stop.sh1.6 KB
- 脚本references/react-doctor/scripts/source-hook-lib.sh31 B
- 参考文档references/react-rules/README.md3.0 KB
- 参考文档references/react-rules/REFERENCE.md17.0 KB
- 脚本references/react-rules/scripts/_hook-lib.sh24 B
- 脚本references/react-rules/scripts/fp-check.sh2.5 KB
- 脚本references/react-rules/scripts/react-rules-check.sh17.9 KB
- 脚本references/react-rules/scripts/tailwind-check.sh11.9 KB
- 参考文档references/redpanda/README.md1.1 KB
- 参考文档references/redpanda/REFERENCE.md1.9 KB
- 脚本references/shared/hook-lib.sh27 B
- 脚本references/shared/source-hook-lib.sh34 B
- 参考文档references/tanstack-intent/README.md453 B
- 参考文档references/toolchain/README.md1.5 KB
- 参考文档references/toolchain/REFERENCE.md2.3 KB
- 脚本references/toolchain/scripts/enforce-toolchain.sh8.8 KB
- 脚本references/toolchain/scripts/session-env.sh5.5 KB
- 参考文档references/zustand/README.md673 B
- 脚本references/zustand/scripts/_hook-lib.sh24 B
- 脚本references/zustand/scripts/zustand-check.sh1.2 KB
- 参考文档references/zustand/SETUP.md751 B
03 SKILL.md 正文
Bootstrap idempotently. Read only requested references/<tool>/README.md and linked guides. Hook copies are no-ops in plugins; bare repos need export-harness copies.
Profiles
- full default: canonical stack in REFERENCE.md, using the order below.
- minimal: toolchain, biome, quality gate, env validation, conventional commits.
- redpanda: full plus
references/redpanda/README.md, taxonomy,REDPANDA_KIT=1. <tool>: only that reference.
Full order
| Tool | Purpose |
|---|---|
toolchain |
references/toolchain/: bun, TS 7 tsc/tsrs, destructive-command guards |
tanstack-intent |
version-matched guidance/edit gates |
biome |
Biome, Ultracite, auto-fix hook |
quality-gate |
script, CI, Stop hook, bundle guard |
agent-config |
AI_AGENT=1, output truncation |
react-compiler |
Compiler, memoization check |
zustand |
create<T>()(), useShallow, persist |
react-rules |
raw HTML, TS escape, XSS, barrel bans |
env-validation |
t3-env/zod, noProcessEnv |
conventional-commits |
type(scope): description |
react-doctor |
changed-diagnostic gate, Stop hook |
ci-pipeline |
Actions, coverage, cache |
redpanda |
registry workflow/taxonomy |
Runtime skills, not setup: /accessibility, /tanstack-router, /connect-query, /e2e-testing, /registry-workflow, /ux-copy. Optional slash-only infra: /setup-routines, /setup-atlassian-workflow.
Steps
- Confirm profile; for full, process the table sequentially and lazily.
- Set
REACT_RULES_BAN_USEEFFECT=1only for repos choosing strict effects. - Auto-setup safeguards in every consumer; honor the endpoint.
- Workflow skills already ship in the plugin; install nothing extra.
Verify
.claude/settings.jsonhas hooks, including TanStack Intent when packages exist;biome.jsoncandsrc/env.tsexist.- Scripts: lint, lint:fix, type:check, test, quality:gate.
.github/workflows/quality-gate.ymlexists; hooks executable.
04 同仓库更多 Skills
learn-taste
Turn a session's design corrections into scoped, reasoned rules for future agents. Use for /learn-taste or requests to remember design feedback, not general workflow retrospectives.
learn-taste
Turn a session's design corrections into scoped, reasoned rules for future agents. Use for /learn-taste or requests to remember design feedback, not general workflow retrospectives.
pull-requests
Use when finalizing a pull request or continuing an existing one; preserve the requested endpoint and draft state.
pull-requests
Use when finalizing a pull request or continuing an existing one; preserve the requested endpoint and draft state.
hill-climb
Optimize a defined outcome through bounded evaluation loops. Use for hill-climb requests or repeated improvement against an executable eval, benchmark, or visual comparison; not a one-pass review.
gestures
Build or fix web drag, swipe, sheet, reorder, and hold interactions: direct tracking, rubber banding, release velocity, momentum, snap points, and interruption. Not native React Native or Swift.