OpenJCockpit

Feature Spec:

1. Context

Problem

Describe the problem this feature solves.

Goal

Describe the intended outcome.

Non-goals

2. Users and scenarios

Primary user

Secondary users

Scenarios

Scenario 1:

Given … When … Then …

Scenario 2:

Given … When … Then …

Scenario 3: Error or fallback scenario

Given … When … Then …

3. Requirements

Use stable IDs so the agent, tests, implementation plan, and review can reference them.

Functional requirements

Non-functional requirements (ISO 25010 Framework)

Map your NFRs directly to the software quality sub-characteristics below, embedding Clean Code principles into their criteria.

4. Architectural Boundaries (Clean Architecture)

Define how this feature aligns with Clean Architecture separation of concerns to prevent domain leaks.

4.1 Domain Entities Layer

4.2 Use Case / Application Layer

4.3 Interface Adapters & Infrastructure Layer

5. Acceptance criteria

Each acceptance criterion must be testable and should reference one or more requirements.

6. Edge cases

7. Data and integrations

Input

Output

Data entities

Entity Description Data classification Source Stored where Clean Code Boundary (Domain / Infra)
… … … … … …

Integrations

8. Dependency mapping

Use this section to make dependencies explicit. Do not rely only on prose.

Depends on

List specs that must exist or be completed before this feature can be implemented.

depends_on:
  - spec_id: SPEC-000
    workflow_id: WF-000
    relationship: requires
    reason: "Authentication must exist before this feature can identify users."