folder-architect
Use this skill to design or audit a project's folder/file architecture, grounded in the user's Team Knowledge Base (the patterns/workflows/concepts under…
Skill by julianhernandez2155
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/julianhernandez2155-folder-architect
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, security, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/folder-architect
What's inside
- Skill name
folder-architect- Description
- Use this skill to design or audit a project's folder/file architecture, grounded in the user's Team Knowledge Base (the patterns/workflows/concepts under `Team Knowledge Base/ wiki/`). Two modes: `/setup-folder` (bootstrap a new project's structure with KB citations) and `/organize-folder` (audit an existing project against the 7 folder- architecture mistakes, propose a restructuring plan, execute moves on approval). Also trigger on phrases like "design my folder structure", "set up a new project", "review my folder architecture", "is this folder organized well", "audit my project structure". Scope is code projects (Python, JS/TS, similar) for v1. Every recommendation cites a specific KB note; no skill-internal opinions.
- License
- MIT
- Instructions
- 369 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# folder-architect Designs and audits project folder structures, grounded in the Team Knowledge Base. | Command / phrase | Mode | What it does | |---|---|---| | `/setup-folder`, "set up a new project", "design my folder structure" | **Bootstrap** | Asks ~3 questions about project intent → drafts structure citing KB → creates folders + stub `CLAUDE.md` / `CONTEXT.md` files on approval | | `/organize-folder`, "review my folder", "audit my project structure" | **Audit** | Reads current state → checks against 7 mistakes → proposes restructuring plan → executes file moves on explicit approval | **Scope v1:** code projects only (Python, JS/TS, Rust, Go — detected by language markers). Obsidian vaults, content workspaces, client-delivery projects are out of scope this version. **Authority:** plan-then-execute. Skill never moves files without explicit "yes execute" after showing the plan. **Citations mandatory:** every structural recommendation links to the KB note it draws from. If there's no KB source for a recommendation, the skill doesn't make it. --- ## Step 1 — Locate the Team Knowledge Base The skill's grounding lives in `Team Knowledge Base/wiki/`. Find it by walking up from `cwd` looking for `Team Knowledge Base/AGENTS.md` as the marker file. ``` Start at cwd. Check for "Team Knowledge Base/AGENTS.md" in cwd, parent, grandparent, up to 5 levels. First hit wins. Set $KB to that directory. ``` If not found in any ancestor → ask the user where the KB lives. Don't proceed without it. On the user's machine the KB lives at `Workspace/Team Knowledge Base/`, so the walk-up succeeds for any project under `Workspace/`. --- ## Step 2 — Detect mode - User typed `/setup-folder` or said "set up a new project" / "design my folder structure" / "bootstrap a new project" → **Bootstrap mode** (Step 3) - User typed `/organize-folder` or said "review my folder" / "audit my project structure" / "is this organized well" → **Audit mode** (Step 4) If ambiguous, ask which mode in one question. --- ## Step 3 — Bootstrap mode ### 3a. Read the ground-truth KB notes (always) Always read these before doing anything else: - `$KB/wiki/patterns/folder-architecture-mistakes.md` — the 7 anti-patterns to avoid - `$KB/wiki/workflows/code-project-workspace-starter.md` — the canonical code-project structure - `$KB/wiki/patterns/three-layer-context-architecture.md` — Map → Rooms → Tools These are the spine. Every recommendation builds on them. ### 3b. Ask ~3 targeted questions In one message, not iteratively: 1. **What is this project?** (one or two sentences — what it does, who uses it) 2. **What language(s)?** (Python, JS/TS, Rust, Go, mixed) 3. **What "modes of work" does it have?** (the KB's mistake #3: don't make workspaces for file *categories*; make them for *mental modes*. Example: planning is different from coding is different from ops. Each gets its own workspace.) Optional 4th if not obvious from cwd context: **Is this a fresh empty folder, or will the skill be writing into an existing directory?** ### 3c. Read opportunistic KB notes based on answers Add reads only if relevant: - If the project needs structured decision-tracking → also read `$KB/wiki/patterns/queryable-organization.md` and `$KB/wiki/patterns/externalized-workspace-state.md` - If the project is agent-facing (Claude Code / MCP / etc.) → also read `$KB/wiki/concepts/agent-native-workspace.md` - If the project will be shared with collaborators → also read `$KB/wiki/patterns/handoff-ready-workspace.md` if it exists ### 3d. Detect the user's existing decision-log convention If `~/.claude/skills/decision-log/SKILL.md` exists, the user has the decision-log skill installed. That skill uses `docs/STATUS.md` + `docs/decisions/` + `docs/log/`. **In bootstrap mode, recommend this structure instead of the KB's `planning/decisions/`** — the user's installed convention wins over the KB's general suggestion. Cite both: "The KB's canonical structure has `planning/decisions/` ([[code-project-workspace-starter]]); you also have the decision-log skill installed which uses `docs/decisions/`. Going with the installed convention." ### 3e. Draft the structure Output a tree like this (concrete file/folder list), with a parallel **"why each part"** section that cites KB notes: ``` <project-name>/ ├── CLAUDE.md # Layer 1 root map per [[three-layer-context-architecture]] ├── README.md # human-facing setup + overview ├── pyproject.toml # (for Python; if JS, package.json; etc.) ├── .env.example ├── .gitignore ├── src/ │ ├── CONTEXT.md # Layer 2 workspace context per [[three-layer-context-architecture]] │ └── <package>/ ├── tests/ ├── docs/ │ ├── CONTEXT.md # Layer 2 workspace context │ ├── STATUS.md # per decision-log skill (if installed) │ ├── decisions/ # ADRs; see [[code-project-workspace-starter]] (KB has them in planning/decisions/; using docs/ for decision-log compatibility) │ └── log/ # session logs per decision-log skill (if installed) ├── scripts/ # ops/scripts per [[code-project-workspace-starter]] └── output/ or data/ # if the project produces artifacts ``` Adjust the tree based on the user's project. If they don't need `scripts/`, drop it. If they have a data corpus, include `output/` or `data/`. Don't fabricate folders the user didn't ask for. **Cite the KB inline.** Every folder gets a one-line "why" with a `[[wikilink]]` to the source KB note. ### 3f. Show draft + wait for approval ``` --- Proposed structure for <project-name>: [tree] Reasoning (KB-grounded): - CLAUDE.md (root) — [[three-layer-context-architecture]] Layer 1: routing file, <40 lines max ([[folder-architecture-mistakes]] #1) - src/CONTEXT.md — Layer 2 workspace context - docs/decisions/ — ADRs (matches your installed decision-log skill; KB canonical is planning/decisions/) - (etc., one bullet per folder) Files I'll create (just stubs + the folders themselves): - CLAUDE.md ~30 lines of stub
From julianhernandez2155/claude-code-harness, MIT.
More from julianhernandez2155/claude-code-harness
- 0.479score
context-map
julianhernandez2155
Build a comprehensive, skimmable context map of an arbitrary project folder — auto-detecting whether it is a CODEBASE or a RESEARCH/NOTES folder and mapping…
SkillCFreshness: CClaude Code +9 - 0.479score
deep-research
julianhernandez2155
Multi-platform deep research with reputation-gated sources, two-hop trust expansion, parallel platform fan-out (Web + GitHub + Reddit + X +…
SkillCFreshness: CClaude Code +9 - 0.476score
html-visual
julianhernandez2155
Generate an interactive single-file HTML visualization (mockup, wireframe, ERD, flowchart, chart, slides, architecture diagram, dashboard, timeline, mindmap…
SkillCFreshness: CClaude Code +9 - 0.474score
curate-apply
julianhernandez2155
Review the background curator's latest nightly proposals and apply the ones the user approves.
SkillCFreshness: CClaude Code +9 - 0.474score
qmd
julianhernandez2155
Bootstrap QMD search instructions from the installed qmd CLI.
SkillCFreshness: CClaude Code +9 - 0.474score
codex-review
julianhernandez2155
Generate a paste-ready Codex review prompt for the current branch/diff.
SkillCFreshness: CClaude Code +9 - 0.474score
plan-grill-codex
julianhernandez2155
High-stakes pre-implementation planning gate tuned for this harness's context stack.
SkillCFreshness: CClaude Code +9 - 0.474score
design-review
julianhernandez2155
Empirical, browser-driven design review of front-end changes — drives a live UI with Playwright and observes actual behavior, rather than reasoning from code.
SkillCFreshness: CClaude Code +9 - 0.474score
end
julianhernandez2155
Triage-first session close-out COORDINATOR for any project on this machine.
SkillCFreshness: CClaude Code +9 - 0.474score
excalidraw
julianhernandez2155
Draw professional diagrams on a live Excalidraw canvas via MCP.
SkillCFreshness: CClaude Code +9 - 0.474score
catchup
julianhernandez2155
Start-of-session briefing — "where did I leave off?" Reads (never writes) the nearest docs/STATUS.md + recent docs/log/ entries + the newest…
SkillCFreshness: CClaude Code +9 - 0.462score
decision-log
julianhernandez2155
Use this skill to maintain a per-project decision + status + session log under `docs/`.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 8, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from julianhernandez2155
- 0.479score
context-map
julianhernandez2155
Build a comprehensive, skimmable context map of an arbitrary project folder — auto-detecting whether it is a CODEBASE or a RESEARCH/NOTES folder and mapping…
SkillCFreshness: CClaude Code +9 - 0.479score
deep-research
julianhernandez2155
Multi-platform deep research with reputation-gated sources, two-hop trust expansion, parallel platform fan-out (Web + GitHub + Reddit + X +…
SkillCFreshness: CClaude Code +9 - 0.476score
html-visual
julianhernandez2155
Generate an interactive single-file HTML visualization (mockup, wireframe, ERD, flowchart, chart, slides, architecture diagram, dashboard, timeline, mindmap…
SkillCFreshness: CClaude Code +9 - 0.474score
catchup
julianhernandez2155
Start-of-session briefing — "where did I leave off?" Reads (never writes) the nearest docs/STATUS.md + recent docs/log/ entries + the newest…
SkillCFreshness: CClaude Code +9 - 0.474score
plan-grill-codex
julianhernandez2155
High-stakes pre-implementation planning gate tuned for this harness's context stack.
SkillCFreshness: CClaude Code +9 - 0.474score
curate-apply
julianhernandez2155
Review the background curator's latest nightly proposals and apply the ones the user approves.
SkillCFreshness: CClaude Code +9
Cite this page
folder-architect skill. Agent Mart. https://agentmart.dev/skills/julianhernandez2155-folder-architect (last updated 2026-10-24)