CtrlK
BlogDocsLog inGet started
Tessl Logo

sdd-workspace

This skill should be used when the user asks to "create workspace", "list workspaces", "select workspace", "archive workspace", "manage workspace sessions", or "switch task context". It manages per-task workspace sessions with isolated inputs, RAG files, logs, and tasklog per interaction. Use this skill whenever the user mentions workspace, session management, task isolation, or context switching.

SKILL.md
Quality
Evals
Security

SDD Workspace — Per-Task Session Manager [EXPLICIT]

Manage per-task workspace sessions that isolate inputs, RAG files, logs, and progress per task.

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Subcommands

SubcommandDescription
create <name>Create a new workspace session and set as active
listList all sessions with stats
select <name>Set active session
currentShow active session details
archive <name>Archive a completed session
done <name>Mark session as done and archive
statsShow workspace statistics

Execution Flow

1. Parse Subcommand

Determine subcommand from arguments. If empty, default to list if workspaces exist, otherwise suggest create.

2. Execute

bash scripts/sdd-workspace.sh <subcommand> [args]

3. Report

Workspace: <action completed>

Active: yyyy-mm-dd-task-name
  Inputs: N files
  RAG: N captures
  Logs: N entries
  Status: active/archived/done

Sessions: N total (N active, N archived)

Assumptions and Limits

#AssumptionHandling
1Workspace directory is workspace/ at project rootCreated on first create if missing. [EXPLICIT]
2Active workspace tracked in .specify/active-workspaceSingle active workspace at a time. [EXPLICIT]
3RAG captures route to active workspace's rag/ folderWhen active, captures go to workspace instead of global .specify/rag-memory/. [EXPLICIT]
4Session logs dual-write to both global and workspace logsEnsures both global and task-level audit trail. [EXPLICIT]
5Workspace names are ISO-dated: yyyy-mm-dd-task-nameScript auto-prefixes current date if not provided. [EXPLICIT]

Edge Cases

ScenarioDetectionHandling
No workspaces existworkspace/ empty or missingSuggest create with example name. [EXPLICIT]
Duplicate workspace nameSession with same name existsAppend incrementing suffix (-2, -3). [EXPLICIT]
Archive active workspaceUser archives the currently active workspaceClear .specify/active-workspace after archiving. [EXPLICIT]
Very old workspacesSessions >30 days oldSuggest archiving in list output. [INFERRED]
No active workspace.specify/active-workspace empty or missingWarn that RAG captures go to global; suggest selecting one. [EXPLICIT]

Good vs Bad Example

Good: /sdd:workspace create auth-refactor

Workspace created!

Active: 2026-03-30-auth-refactor
  Path: workspace/2026-03-30-auth-refactor/
  Inputs: 0 files
  RAG: 0 captures
  Status: active

RAG captures now route to workspace/2026-03-30-auth-refactor/rag/

Bad: No session isolation

x Files mixed in global directories
x No per-task tracking
x No active workspace indicator

Why: Workspace sessions isolate per-task inputs, RAG, and logs for clean context switching. [EXPLICIT]

Validation Gate

Before marking workspace action as complete, verify: [EXPLICIT]

  • V1: Subcommand parsed and executed
  • V2: Workspace directory structure created (for create)
  • V3: .specify/active-workspace updated (for create/select)
  • V4: Session stats reported (input count, RAG count, status)
  • V5: session.json written/updated in workspace directory
Repository
JaviMontano/mao-sdd
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.