--- name: workspace-operating-system description: ALWAYS use this for broad, ambiguous, multi-step, or repository-wide work in this bundle, especially when the right skill choice, execution order, or quality bar is not obvious from the request alone.
Workspace Operating System
Selective Reading Rule
Start with:
references/usage-routing.mdreferences/quality-checklist.md
Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.
Selective Reading Rule
Start with:
references/senior-master-standard.md
Then load only the references, scripts, assets, or examples needed for the user's actual task.
Purpose
Act as the default operating layer for this repository.
Before doing substantial work, classify the task, choose the minimum effective skill set, sequence execution, and enforce the quality bar.
Mandatory Reading Order
Always read:
references/task-routing.mdreferences/quality-bar.mdreferences/operating-charter.md
Read only when needed:
references/composition-patterns.mdfor cross-domain or multi-phase workreferences/routing-heuristics.mdwhen the request wording is vague but the outcome is high-impactreferences/quality-audit.mdwhen reviewing whether bundle or repository work is actually ready to shipreferences/skill-catalog.mdwhen the right skill is unclear or you need exhaustive coveragereferences/branch-and-release-policy.mdfor code, config, infrastructure, release, or deployment workreferences/idea-to-program-playbook.mdwhen the request starts as a vision, pitch, or broad ambitionreferences/department-operating-model.mdwhen the task should be run like a coordinated team effort
Runtime Assets
scripts/build_skill_catalog.py- Run this after adding, removing, or meaningfully re-categorizing skills so
references/skill-catalog.mdstays synchronized with the live bundle.
- Run this after adding, removing, or meaningfully re-categorizing skills so
Operating Rules
- Start narrow. Load the fewest skills that can reliably solve the task.
- Prefer one primary skill and only add supporting skills when there is clear value.
- Default to local-first execution. Do not assume external MCP servers, cloud APIs, or provider-specific tooling are enabled unless the user or repo explicitly configures them.
- Preserve existing product patterns before introducing a new visual, architectural, or workflow direction.
- Treat licensing, ownership, and privacy as part of correctness. If a file or asset is restrictive or unclear for public reuse, isolate it or remove it instead of shipping ambiguity.
- Operate like a senior engineering team: clarify the outcome, isolate the work, verify with evidence, and leave a clean handoff trail.
- For speculative or ambitious ideas, convert them into requirements, simulation, prototype, and verification tracks instead of pretending they are instantly production-ready.
- Do not support weaponization, malware, unauthorized access, covert surveillance, or guaranteed-finance claims. Pivot to lawful, defensive, or simulation-first alternatives.
- Convert vague requests into a concrete execution path quickly; ask only when the missing detail changes the outcome materially.
- Move from discovery to action to validation. Do not stop at analysis for executable tasks.
Execution Ladder
- Classify the request.
- Decide whether the task is primarily planning, building, debugging, reviewing, designing, testing, documenting, or shipping.
- Choose the primary skill.
- Use
references/task-routing.mdfirst.
- Use
- Add support skills only if required.
- Use
references/composition-patterns.mdwhen multiple skills must work together.
- Use
- Execute.
- Gather just enough context to avoid blind edits.
- Implement or analyze with the chosen skill stack.
- For code changes, prefer a branch or worktree unless the task is truly tiny and the repo policy allows in-place work.
- Verify.
- Apply the universal finish criteria from
references/quality-bar.md.
- Apply the universal finish criteria from
- Close clearly.
- State what changed, what was verified, and any residual risk.
Routing Heuristics
- For broad product work, start with the task shape rather than the technology.
- For highly regulated or physically grounded ideas, start by separating concept, simulator, prototype, and production scope.
- For mission-style or hardware-adjacent software, route to
systems-engineeringbefore collapsing the problem into normal app delivery. - For coding tasks, route by the real bottleneck:
- architecture unclear ->
architecture - system-of-systems, telemetry, simulation, operator workflows, or interface-heavy scope ->
systems-engineering - implementation heavy -> domain skill such as
app-builder,api-patterns,frontend-design, ordatabase-design - approved plan exists ->
executing-plans - explicit acceptance criteria and end-to-end closure matter ->
closed-loop-delivery - failing behavior ->
systematic-debuggingplus the relevant domain skill - validation gap ->
testing-patterns,webapp-testing,lint-and-validate,performance-profiling, orverification-before-completion
- architecture unclear ->
- For document and communication work, prefer
doc-coauthoringorinternal-commsplus brand and design support rather than opaque one-off scripts.
Composition Rules
- One-domain request: use one primary skill.
- Two-domain request: use one primary and one support skill.
- Three or more domains: read
references/composition-patterns.mdand actively sequence the work. - If the task is unclear but high-impact, begin with planning or discovery before implementation.
High-Value Defaults
- New feature: plan -> design/architecture -> build -> test -> polish
- Bug fix: reproduce -> debug -> patch -> verify -> summarize cause
- Non-trivial code change: branch/worktree -> implement -> verify -> PR/merge recommendation
- Review request: prioritize risks, regressions, and missing validation over style commentary
- Review feedback request: use
receiving-code-reviewbefore making broad changes - UI request: clarify direction, preserve usability, and avoid generic output
- Infrastructure or deployment request: favor explicit validation and rollback awareness
- Ambitious R&D request: architecture -> simulation/prototype -> verification strategy -> staged delivery plan
- Ambitious systems request: idea framing -> systems-engineering -> architecture -> first simulation or control slice -> verification
- Repository hardening request: audit -> remove restricted material -> neutralize external defaults -> verify -> document
Relationship To Other Skills
- Use
intelligent-routingfor agent-selection patterns and auto-routing heuristics. - Use
parallel-agentsfor multi-agent decomposition when the environment supports it. - Use
behavioral-modesto adapt how you communicate and reason. - Use
skill-creatorwhen modifying this bundle or adding new skills. - Use
using-git-worktreeswhen isolated branch work is safer than editing in place. - Use
finishing-a-development-branchwhen a verified branch needs a clean next-step decision.
Finish Condition
This skill is successful only when the agent can answer:
- Why this skill stack?
- Why this sequence?
- What was verified?
- What still remains uncertain?