From tdk-scaffold
Read .specify/.specify.json architecture type + project docs + community skills → generate recommendation.md with skill/agent suggestions tailored to project architecture.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tdk-scaffold:tdk-recommend-automations [--architecture monolith|modular-monolith|microservices|layered-application][--architecture monolith|modular-monolith|microservices|layered-application]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a reviewable `recommendation.md` with skill/agent suggestions tailored to project architecture. Combines architecture presets + project docs + optional community skill discovery.
Generate a reviewable recommendation.md with skill/agent suggestions tailored to project architecture. Combines architecture presets + project docs + optional community skill discovery.
tdk-sub-workspace-docs to generate project docs..specify/.specify.json exists with architecture.type set.tdk-sub-workspace-docs at the path specified in .specify/.specify.json docs.path.| Flag | Notes |
|---|---|
--architecture <type> | Override auto-detected type. Values: monolith, modular-monolith, microservices, layered-application. |
.specify/.specify.jsonRead .specify/.specify.jsonarchitecture.type. Map to preset category:
monolith, modular-monolith → monolith presetmicroservices, layered-application → distributed preset"Unsupported architecture type '{type}'. Set architecture.type to one of: monolith, modular-monolith, microservices, layered-application."docs.path for Step 2.--architecture arg provided, override the detected type..specify/.specify.json missing → error: ".specify/.specify.json not found. Run tdk-specify init first."architecture.type missing → error: "Set architecture.type in .specify/.specify.json (monolith, modular-monolith, microservices, or layered-application)."docs.path missing → error: "Set docs.path in .specify/.specify.json (e.g. .specify/configurations)."docsPath from .specify/.specify.json docs.path.<docsPath>/codebase-summary.md — extract tech stack, dependencies, file structure.<docsPath>/system-architecture.md — extract components, data flow, integrations."Docs not found at <docsPath>. Run tdk-sub-workspace-docs first.""Docs seem unpopulated. Recommendations based on architecture preset only."Load: references/architecture-presets.md
Select the preset matching the category from Step 1 (monolith or distributed). Each preset provides baseline recommendations with Type, Name, Purpose, and Priority.
vercel-labs:find-skills is available in the current session's available-skills list (system-reminder). If present → invoke. If absent → skip with note "Community skill discovery unavailable."."monolith coupling detection express typescript"."No relevant community skills found" and proceed.references/architecture-presets.md: Purpose, Why, Input signals, Trigger condition, Inspired by (if applicable).mkdir -p .specify/reports/.specify/reports/recommendation-<project-name>.mdAskUserQuestion: overwrite or keep existing.---
architecture: <detected-or-overridden-type>
project: <project-name>
generated: <YYYY-MM-DD>
status: draft
source_docs_path: <docs.path value>
community_skills_searched:
- "<search query used>"
---
# Automation Recommendations for <project-name>
## Project Context
- **Architecture**: <type>
- **Tech stack**: <from codebase-summary>
- **Components**: <from system-architecture>
- **Integrations**: <from system-architecture>
- **Key patterns**: <from codebase-summary>
## Community Skills Discovered
> Skills found via `vercel-labs:find-skills` — used as design inspiration, not direct imports.
| Skill | Source | Relevance | What We Learned |
|-------|--------|-----------|-----------------|
| ... | community | ... | ... |
_(If no community skills: "No community skills found — recommendations based on architecture preset + project docs only.")_
## Recommended Skills
### 1. <name> [<priority>]
- **Purpose**: ...
- **Why**: <project-specific justification>
- **Input signals**: ...
- **Trigger**: ...
- **Inspired by**: <community skill, if any>
## Recommended Agents
### 1. <name> [<priority>]
- **Purpose**: ...
- **Why**: <project-specific justification>
- **Model**: sonnet (fast review)
- **Tools**: Read, Grep, Glob
## User Notes
<!-- Add/edit/remove recommendations here before changing status to approved -->
Print:
Invite user to review and edit the file. Mention: change status: draft to status: approved when ready for Phase 2 (future tdk-scaffold-from-recommendation).
| Symptom | Message |
|---|---|
.specify/.specify.json missing | ".specify/.specify.json not found. Run tdk-specify init first." |
architecture.type missing | "Set architecture.type in .specify/.specify.json (monolith, modular-monolith, microservices, or layered-application)." |
docs.path missing | "Set docs.path in .specify/.specify.json (e.g. .specify/configurations)." |
| Docs not generated | "Docs not found at <docsPath>. Run tdk-sub-workspace-docs first." |
find-skills unavailable | Note "Community skill discovery unavailable." — proceed with preset + docs only. |
| Unknown architecture type | "Unsupported architecture type '{type}'. Set to: monolith, modular-monolith, microservices, or layered-application." |
| Recommendation file exists | AskUserQuestion: overwrite or keep existing. |
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub vinhltt/tdk --plugin tdk-scaffold