Communitygithub.com

workspace-engineering

Review, improve, or build agent workspaces, primarily for writing code. Propose a concrete development process covering test authoring, local validation before push, CI merge gates, and delivery. Start from repos, process docs, or interviews; adapt the same principles to nontechnical work. Not a general code refactoring skill.

What is workspace-engineering?

workspace-engineering is a Claude Code agent skill that review, improve, or build agent workspaces, primarily for writing code. Propose a concrete development process covering test authoring, local validation before push, CI merge gates, and delivery. Start from repos, process docs, or interviews; adapt the same principles to nontechnical work. Not a general code refactoring skill.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sivipi/skills/tree/main/skills/workspace-engineering

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Workspace engineering

Treat the workspace as a product for the person using it. Engineer the process that makes useful work repeatable, not just the prompt that gets one good result.

The central question: What does this person still have to remember, repair, or explain that the workspace should handle?

The primary use case is writing code with agents. Actively propose a development process, including what is missing from the current workspace; do not stop at describing existing instructions. For nontechnical roles, adapt the same feedback and acceptance principles to their deliverables.

1. Establish the job

Infer the requested mode from the user's words:

  • Review: inspect the current process, explain gaps, and recommend improvements. Leave implementation unchanged.
  • Build or improve: implement the requested scope, including validation and a usable handoff. A build request already authorizes ordinary reversible implementation; do not add a plan-approval ceremony.

Start with whichever evidence exists: repository, process document, or the user's account. A repository is not required for process discovery. Read applicable repository instructions before inspecting implementation or running commands. Inspect setup scripts before executing them. Preserve existing work and follow the target's canonical skill/instruction layout.

Identify the primary role, recurring task, acceptable result, current pain, and human decisions. Use discovery for interviews, process documents, or unclear ownership. Read available material first, then ask only questions whose answers change the design. Continue independent work while waiting; do not invent a missing answer.

2. Trace a complete task

Choose one representative request and follow it from intake through execution, validation, handoff, and recovery. Include a failure or correction if evidence exists. For broad reviews, sample each materially different workflow rather than claiming one sample covers everything.

Record what the user does, what the agent does, which tools act, what state is saved, and what proves completion. Compare intended practice with implementation and observed behavior. Keep these evidence labels distinct:

  • Documented: a rule or process says this should happen.
  • Implemented: a concrete mechanism exists and is wired into the path.
  • Observed: a run demonstrates the behavior for a named revision or artifact.
  • Unknown: evidence or access is missing. This is not proof of absence.

Use review to examine the path and prioritize findings. A green test is evidence of what it asserted, not of every claim attached to it.

3. Design the improvement

Read the baseline process in both review and build modes. Use its software-development defaults unless the task is nontechnical, then use its adaptation guidance. For mixed workspaces, apply the coding baseline to code and helpers even when the end user is nontechnical.

Make the proposed process concrete: trigger, steps, commands or tools, pass/fail criteria, failure response, owner, and completion evidence. Map each applicable baseline item to an existing mechanism, a recommended change, an explicit exception, or an unknown. Explain material deviations; do not silently omit a missing practice because the repo has never had it. Preserve stricter existing requirements.

Group symptoms by their underlying cause. Prefer a shared utility, better input, clearer tool contract, or shorter procedure over adding another warning for the agent to remember. Remove redundant instructions and checks only when their purpose is preserved elsewhere.

For each proposed change, specify:

FieldAnswer
User problemWhat gets slower, fails, or requires repeated explanation?
EvidenceWhich file, process step, incident, or run supports the finding?
ChangeWhat will the workspace do differently?
PlacementKnowledge, skill, rule, tool, local check, remote gate, or human decision?
ProofHow will we know the change works, including a relevant failure case?
Tradeoff and ownerWhat does it cost to run or maintain, and who can change the policy?

Prioritize by user impact, recurrence, confidence, effort, and feedback delay. Lead with the few changes worth doing first, not a score or a pile of boilerplate. Use patterns when a concrete example or workspace layout would help.

4. Review or implement

For a review, deliver the current process in brief, the proposed working process, prioritized findings with evidence, and the next useful step. Preserve strong existing mechanisms and state what could not be checked. A process-document-only review should distinguish proposed controls from controls known to exist.

For a build or improvement, use build. Implement the authorized scope end to end. If the user wants a new workspace but the role or deliverable is still unknown, resolve that before choosing the stack. Do not turn every process problem into a software project.

5. Close the loop

Report what changed or was recommended, how it helps the role, what was actually verified, and what remains dependent on access or human judgment. For implementation, leave one clear way to start the workflow and one way to run its checks.

Keep operational limits explicit:

  • Never make a failing check pass by weakening the criterion, bypassing the hook, or accepting missing evidence. A legitimate policy change must be identified separately and authorized by its owner.
  • Preserve authorization already given; distinguish a local build from spending credits, publishing, or changing live systems. Resolve permission only at an action that actually needs it.
  • Do not prescribe automatic merging, no code review, a fixed coverage percentage, test-first development, or a particular CI system as the definition of a workspace.
  • Keep secrets and private source details out of reusable instructions. When source material is private, extract the pattern with neutral examples.

Related Skills