agentleFS
nakane1chomenakane1chome/claude-skills/skills/light-v-structure/SKILL.md

light-v-structure

Skill0 starsChanged 8 months agoUnlicenseView on GitHub

Defines V-model project structure conventions. ALWAYS ACTIVE for any planning or development work: before starting any task that creates, modifies, or organizes code or documentation, apply the 'planning and implementation' mode. Also invoked explicitly for scaffold, check, and explain.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 10 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If invoked with an argument that is not scaffold, check, or explain, treat the argument as context and apply the planning and …

    line 40
  2. Distinctive:

    Before starting, identify what V-model stage the activity belongs to and its information dependencies — up and down the left side, and …

    line 46
  3. Distinctive:

    Cannot identify stage: If the activity's V-model stage is unclear, ask the developer before proceeding.

    line 48
  4. Distinctive:

    Missing upstream doc: If no upstream document exists, the agent may assume an iterative implementation-first flow — but must confirm with …

    line 52
  5. Distinctive:

    Incomplete upstream doc: If an upstream document exists but is incomplete, do not proceed.

    line 53
  6. Distinctive:

    Missing left-side doc: If the left-side counterpart does not exist, stop and inform the user.

    line 57
  7. Distinctive:

    Not every technical choice is a decision.

    line 81
  8. Very specific:

    Check the paradigm: Read docs/*paradigm*.md. Do the core principles eliminate any options or clearly favour one?

    line 92
  9. Distinctive:

    Evaluate options: If multiple options remain, compare against the paradigm.

    line 93
  10. Distinctive:

    Determine ADR scope: Write one ADR per decision.

    line 94
  11. Very specific:

    Draft the ADR: Use docs/adr/xx-template.md.

    line 95
  12. Very specific:

    After acceptance: Add any unresolved questions or tensions with adjacent ADRs to docs/adr/qa.md.

    line 96
  13. Very specific:

    Read documentation.md for the canonical folder structure and file conventions.

    line 102
  14. Distinctive:

    Stop and confirm with the developer before creating anything.

    line 105
  15. Very specific:

    Create confirmed files using the stub templates in scaffold.md.

    line 106
  16. Very specific:

    Read the relevant supporting file(s): documentation.md, code-structure.md, glossary.md.

    line 132
  17. Distinctive:

    If a convention is absent from the project, suggest next steps rather than stopping at the gap.

    line 134

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Human-readable overview: README.md

Overview

This V-model is not a waterfall. Standard V-model descriptions treat stage boundaries as gates: requirements complete before architecture begins, architecture complete before design begins. That interpretation does not apply here. Do not enforce sequential stage completion.

This V-model is a tri-axis gradient — a map of what belongs where and what cross-validates what:

  • Top edge — user journey: from problem statement to working solution
  • Left edge — decomposition: proposal, architecture, design
  • Right edge — integration: test, validation, user acceptance
  • Bottom — implementation: source code

Stage boundaries are bidirectional. Architecture informs design; design feeds back into architecture. The V is a risk control system — it ensures that right-side activities validate left-side decisions — but it does not prescribe the order in which work is done.

This project is developed by an agent and a single developer collaborating as a team.

The V-Model Structure

User Problem ─────────────────────────── Working User Solution
     │              (User Journey)                │
     │                                            │
     │  Solution Proposal              Validated  │
     │  Implementation Proposal        Solution   │
     │                                            │
     │    Architecture        Validation          │
     │        Design        Test                  │
     └──────────► Implementation ◄────────────────┘
                  (Developer)

If invoked with an argument that is not scaffold, check, or explain, treat the argument as context and apply the planning and implementation mode.

Modes

planning and implementation (implicit)

Before starting, identify what V-model stage the activity belongs to and its information dependencies — up and down the left side, and across to the right side.

Cannot identify stage. If the activity's V-model stage is unclear, ask the developer before proceeding.

Left side (decomposition):

  • Respect upstream. Downstream activities must respect the decisions, architecture, and design upstream.
  • Missing upstream doc. If no upstream document exists, the agent may assume an iterative implementation-first flow — but must confirm with the user. The plan must include creating the missing document.
  • Incomplete upstream doc. If an upstream document exists but is incomplete, do not proceed. The document must be updated with user input before work continues.

Right side (Verification and Validation):

  • Validate the counterpart. Right-side activities must validate or verify the corresponding left-side decisions, architecture, and design.
  • Missing left-side doc. If the left-side counterpart does not exist, stop and inform the user.
  • Incomplete test information. A test-first or TDD (Test-Driven Development) strategy may be assumed, but only if the left-side counterpart exists.

All plans: Specify cross-references to upstream or left-side sources of truth.

Increment Strategies

Choose an increment strategy before starting. Default to completed increment for simplicity; use pipelined (sashimi model — stages overlap across working units rather than completing sequentially) when units can be developed in parallel.

Completed increment: A set of stages are completed in one increment and finalized atomically (e.g., via one branch and a pull request).

  1. Define Architecture → Checkpoint
  2. Complete Design/Implementation/Test → Checkpoint
  3. Validate

Pipelined increment: A single stage is completed in one increment per working unit. Working units may be done in parallel.

  1. Define Architecture across Units A, B, and C → Checkpoint
  2. Design Unit A → Checkpoint
  3. Design Unit B; Implement Unit A → Checkpoint
  4. Continue overlapping stages...

Decision making (implicit)

Triggered when the agent encounters a technical choice with architectural consequences — a choice that constrains arch, design, or future decisions, or involves tradeoffs between paradigm principles.

Not every technical choice is a decision. A decision warrants an ADR when it:

  • Constrains how arch or design must be structured going forward
  • Chooses between options with meaningfully different consequences
  • Conflicts with or extends an existing ADR

Tactical choices (library versions, naming conventions, local implementation details) do not warrant ADRs — record them in the relevant docs/arch/ or docs/design/ document instead.

Steps:

  1. Frame the decision. State the problem, the constraints, and why a decision is needed now. Identify what stage of the V it affects.
  2. Check existing ADRs. Has this been decided? Does an existing ADR constrain the options? If the decision is already made, stop — apply the existing ADR.
  3. Check the paradigm. Read docs/*paradigm*.md. Do the core principles eliminate any options or clearly favour one?
  4. Evaluate options. If multiple options remain, compare against the paradigm. Use numbered Technical Requirements and a summary table if ≥2 options with distinct tradeoffs (see ADR template). Use evaluation docs (docs/evaluation/) for evidence — do not inline lengthy research into the ADR.
  5. Determine ADR scope. Write one ADR per decision. Do not bundle unrelated choices. If a decision depends on a prior undecided question, resolve that first.
  6. Draft the ADR. Use docs/adr/xx-template.md. Present to the developer for acceptance before proceeding with any work that depends on it.
  7. After acceptance. Add any unresolved questions or tensions with adjacent ADRs to docs/adr/qa.md.

scaffold (invoked)

Propose and create the canonical directory structure and default files for the project.

  1. Read documentation.md for the canonical folder structure and file conventions.
  2. Inventory the existing docs/ tree — do not overwrite files that already exist.
  3. Propose the complete directory tree and missing placeholder files.
  4. Stop and confirm with the developer before creating anything.
  5. Create confirmed files using the stub templates in scaffold.md. Use the matching template for each file type; use section-headers-only for files with no template (e.g. poc.md).

check

Audit the project against V-model traceability rules. Read documentation.md (in this skill's directory) for cross-validation pairs before starting.

  1. Inventory existing artifacts at each V-model level: paradigm, adr, architecture, design, test, src. Treat docs/architecture/ as equivalent to docs/arch/, and docs/tests/ as equivalent to docs/test/ — note the legacy name in findings but do not report it as a gap.
  2. For each left-side artifact, verify a right-side counterpart exists (see cross-validation pairs in documentation.md):
    • For docs/test/system/, folder presence does not count — verify that docs/test/system/README.md contains a named entry for each use case in the use cases doc in docs/arch/ (identify it by name).
    • For docs/test/unit/, folder presence does not count — verify that docs/test/unit/README.md contains a named entry for each design doc in docs/design/.
  3. For each planning artifact, verify it identifies its upstream references:
    • Code plan or implementation → relevant design doc(s) in docs/design/
    • Design doc → relevant architecture doc(s) in docs/arch/ and ADR(s) in docs/adr/
    • Architecture doc → relevant ADR(s) and docs/paradigm.md
  4. Report findings as a checklist: pass / gap / missing.
  5. For gaps, propose remediation steps — do not create files without developer approval.

Exempt from traceability: Evaluation docs (docs/evaluation/) have no required right-side counterpart. Cross-cutting constraint docs (coding standards, format specs) do not require matching unit test plans. Infrastructure/tooling commits and hot-fix sprints do not require design-doc updates unless they reveal an architectural gap.

Relationship to sdlc-cross-review: Use check for project-level structural audit — are the right files present, do V-model pairs exist, are upstream references in place? Use sdlc-cross-review for document-level review — does this specific document satisfy its SDLC context?

explain

Explain V-model concepts, project conventions, or increment strategies in the context of this project.

  1. Identify the topic: structure, increment strategy, traceability, document types, or a specific V-level.
  2. Read the relevant supporting file(s): documentation.md, code-structure.md, glossary.md.
  3. Explain using concrete examples from the current docs/ structure — not generically.
  4. If a convention is absent from the project, suggest next steps rather than stopping at the gap.
  5. Scope the answer to the question asked. Do not produce a full V-model tutorial unless asked. Respond in prose; use a numbered list only for actionable steps. End with a concrete next step or open question if further action is warranted.

Supporting Files

FilePurpose
documentation.mdFolder conventions, cross-validation pairs, document types
scaffold.mdStub templates for each file type
code-structure.mdSource and test organisation conventions
responsibilities.mdAgent vs developer ownership matrix
glossary.mdTerms used in this skill
references.mdExternal resources and specifications
sdd.mdRelationship to Spec-Driven Development — points of difference

Skill Precedence

This skill is the authoritative source for project structure conventions. It takes precedence over other project documentation in case of conflict. Supporting files in this directory are maintained independently of project docs and are not subject to project doc conventions.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.