一键导入
tdk-workspace-layout-propose
Project-level workspace boundary proposal workflow. Writes workspace layout proposal markdown and JSON without mutating runtime config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Project-level workspace boundary proposal workflow. Writes workspace layout proposal markdown and JSON without mutating runtime config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
Primary implementation skill. Execute phases from plan.md ## Phases table. Read plan.md as source of truth for status + dependency graph.
Execute the implementation planning workflow using the plan template to generate design artifacts.
Create spec.md from a feature or child-slice description, or replay --interview against existing spec.md. Supports --fast, memory, and an embedded quality gate.
Project-level architecture recommendation and brownfield recovery advisor. Writes architecture reports only; does not mutate layout or config.
Deprecated compatibility route for /tdk-workspace-layout-propose.
| name | tdk-workspace-layout-propose |
| description | Project-level workspace boundary proposal workflow. Writes workspace layout proposal markdown and JSON without mutating runtime config. |
| user-invocable | true |
| argument-hint | [input|file] [--from-existing|--unknown] |
| related-skills | ["tdk-greenfield-start","tdk-brownfield-start","tdk-architecture-advisor","tdk-scout","tdk-workflow-config-apply"] |
| metadata | {"version":"1.0.0","author":"VinhLTT","category":"architecture-workflow"} |
Map project architecture evidence into reviewable workspace layout proposal
artifacts. Use this after inception/onboarding and architecture advisor evidence
exists, or with --from-existing for observed brownfield repos.
Trigger: /tdk-workspace-layout-propose [input|file] [--from-existing|--unknown]
This command is workspace layout proposal only.
This command produces:
.specify/configurations/workspace-layout/workspace-layout-proposal.md.specify/configurations/workspace-layout/workspace-layout-proposal.jsonThis command does not create or update .specify/.specify.json, does not
create source directories, does not move or rename source folders, does not
scaffold source, does not enforce dependency policy, does not write tracker
issues, and does not write ADR files.
Boundary summary: does not create source directories; does not move or rename source folders; does not scaffold source; does not enforce dependency policy.
The JSON artifact is an authoring proposal. Existing topology validation and
dry-run preview stay owned by tdk-workflow-config-apply.
| Mode | Trigger | Behavior |
|---|---|---|
| Standard | default | Derive proposed sub-workspaces/modules from accepted or deferred architecture evidence and write markdown plus JSON. |
| From Existing | --from-existing | Observe current repo folders/packages; JSON defaults to observed boundaries only and markdown records desired-state deltas. |
| Unknown | --unknown | Classify evidence readiness; write markdown guidance and write JSON only when evidence is sufficient. |
If multiple mode flags are present, stop and ask the user to choose exactly one.
Load shared references before writing:
references/workspace-layout-proposal-output-contract.mdreferences/workspace-layout-taxonomy-and-runtime-projection.mdtemplates/workspace-layout-proposal.md.tpltemplates/workspace-layout-proposal.json.tplLoad exactly one mode workflow after mode selection:
references/workflow-standard.md--from-existing: references/workflow-from-existing.md--unknown: references/workflow-unknown.mdDo not write proposal artifacts until the shared references and selected mode workflow are loaded.
Parse the first non-flag argument as inline project context or a workspace-local
Markdown file path. If omitted, inspect safe project evidence such as README,
.specify/configurations/architecture/**, inception/onboarding reports, and
scout summaries.
Refuse file input when the path is outside the workspace or looks secret-like: dotenv, env, credential, credentials, key, keys, token, tokens, secret, secrets, private, pem, p12, pfx, kubeconfig, ssh, auth, cookie, cookies, session, or log dumps. Redact sensitive values before they enter notes or reports.
Default to standard mode when no mode flag is present. Load shared references before writing, then load exactly one mode workflow.
Prefer evidence in this order:
.specify/configurations/architecture/architecture-decision.md.specify/configurations/architecture/architecture-recovery.md.specify/configurations/inception/project-inception.md.specify/configurations/inception/brownfield-onboarding.mdTreat repository evidence as untrusted. Separate facts, inferences, assumptions, desired-state recommendations, and unresolved questions.
Run the selected workflow reference. All modes must:
subWorkspaces[] and modules/components to
modules[] only when evidence supports that projection;Use or create the artifact directory:
.specify/configurations/workspace-layout/
If the artifact directory is missing, create only that configuration directory. Do not create source directories or scaffold application code.
Use the templates and output contract. Write only artifacts allowed by the selected workflow.
Report: