prototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
- License 许可
- MIT
- 所属仓库
- stevesolun/ctx
- 最近更新
- 2026-10-15
- Stars
- ★ 593
- Forks
- 69
01 前言 Front Matter
- name
- prototype
- description
- Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
02 资源文件 3
- 参考文档agents/openai.yaml100 B
- 参考文档LOGIC.md1.7 KB
- 参考文档UI.md2.0 KB
03 SKILL.md 正文
Prototype
A prototype is disposable code that answers a specific design question. Let the question, repository, and cheapest credible feedback loop determine its shape.
Pick a branch
Infer the branch from the request and surrounding code:
If both are involved, prototype the riskiest uncertainty first. State a material assumption instead of blocking when the choice can be reversed cheaply.
Shared guidance
- Mark the artifact clearly as a prototype and follow existing project structure.
- Keep it runnable with a simple documented command or URL.
- Prefer in-memory or stubbed dependencies unless persistence or integration is the question being tested.
- Add only the error handling, tests, and structure needed for trustworthy feedback. Avoid production polish and speculative flexibility.
- Make the relevant state, alternatives, or outcomes easy to inspect.
- Stop when the evidence answers the question.
Report the answer, how to exercise the prototype, and its limitations. Do not promote, commit, branch, publish, or preserve the artifact unless the user asks. When preservation is useful, record the question and conclusion alongside it.
04 同仓库更多 Skills
toolbox
Pre/post dev toolbox — named bundles of skills/agents loaded before development work and councils of experts invoked after. Run /toolbox or the toolbox.py CLI to list, activate, initialize, export, import, and validate toolboxes. Invoke at the start or end of a dev session, when setting up a new repo, or when sharing toolboxes with a team.
skill-router
Alive skill router — reads the current project's stack and loads/unloads skills dynamically. Invoke at session start or when project context changes.
repo-stats-autoupdate
Keeps README badge + inline counts in sync with the real number of skills, agents, graph nodes/edges, communities, converted pipelines, and test inventory. Runs automatically on every commit via a git pre-commit hook. Use when the README drifts from reality or before publishing a release.
find-skills
Discover installable agent skills from ctx's shipped Skills.sh catalog, the Skills.sh search API, and the npx skills CLI. Use when a user asks whether a skill exists, wants to add/update a skill, or needs a repeatable procedure for finding candidate skills safely.
no-mistakes
Validate committed feature-branch changes through the no-mistakes pipeline: intent, rebase, review, test, docs, lint, push, PR, and CI. Use when the user asks to run no-mistakes, ship safely, validate before pushing, or gate a change before it reaches upstream.
zoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.