feat: Add Spec-Driven Development semantic anchor#356
Conversation
Co-authored-by: rdmueller <1856308+rdmueller@users.noreply.github.com> Agent-Logs-Url: https://github.com/LLM-Coding/Semantic-Anchors/sessions/5a929e04-98e1-44eb-a4e3-ddc24f58f900
Analysis of Proposed AnchorsEvaluated against the quality criteria: Precise, Rich, Consistent, Attributable. Summary
Detailed Analysis#354 P.A.R.A. Method —
|
|
Thanks for this proposal! Spec-Driven Development is clearly relevant to our project — we have an entire workflow document dedicated to it. Recommendation: don't merge as a separate anchor. Here's our reasoning:
The evaluation scores 100% on L1 Recognition — but that's because the concept is well-known, not because the term activates a specific methodology. Many well-described concepts score 100% without being semantic anchors (see our quality criteria). We appreciate the contribution! The individual anchors that make up spec-driven workflows (Gherkin, BDD, TDD, arc42, ADR) are already in the catalog and work well. |
Follow-up: Testing related termsWe also tested whether more specific variants would work as semantic anchors:
Findings:
This confirms our recommendation: none of these terms currently qualify as semantic anchors. They may in the future as the concepts gain wider adoption and enter LLM training data. For now, the best approach is to use the established anchors that make up a spec-driven workflow: Gherkin, BDD, TDD London/Chicago School, arc42, ADR according to Nygard — as described in our workflow document. |
|
@raifdmueller we also have the concept of Semantic Contracts. So suggest to use other anchors instead of "spec driven dev". What if we create a new category for Semantic Contracts. We could even create a file which contains all of them. What would be a good semantic contract in this case? ? Please advice |
|
Great idea! A "Semantic Contract" defines what we mean when we use a term — it's a meta-level anchor that sharpens existing anchors. For the spec example, I'd suggest keeping it as an AGENTS.md convention rather than a catalog anchor: ## Semantic Contracts
- "Specification" means: Use Cases with Activity Diagrams (all paths, not just happy path)
and acceptance criteria in Gherkin format. See: Gherkin, arc42 Section 10.This works because:
A catalog anchor would need to be universal — but "what a spec means" varies by team. Semantic Contracts live best in AGENTS.md where they can be customized. That said, we could add a meta-anchor like "Semantic Contracts" to the catalog that explains the concept of defining team-specific term definitions in AGENTS.md. That would be genuinely useful as a semantic anchor — it teaches the LLM the pattern of looking for and respecting project-level term definitions. What do you think — a meta-anchor "Semantic Contracts" that teaches the pattern, with project-specific contracts in AGENTS.md? |
|
I think we should add a new top-level menu item and collect semantic contracts there. Spec-Driven would be the first. Why do you reference arc42 Section 10? I think it makes sense to use this information to create a detailled issue and close this PR and the corresponding issue (with comment and reference from the new issue) |
|
Created #364 for the Semantic Contracts feature. This replaces the need for a standalone Spec-Driven Development anchor — the concept becomes a selectable Semantic Contract that users can download and add to their AGENTS.md. (Regarding the arc42 Section 10 reference — that was a mistake, removed.) |
|
Replaced by #364 (Semantic Contracts) |
Adds Spec-Driven Development as a new semantic anchor — an approach where software is defined, constrained, and validated through explicit specifications, with specs (not code) as the source of truth.
Changes
docs/anchors/spec-driven-development.adoc— English anchor covering all core concepts: formalized intent, separation of concerns, traceable capabilities, deterministic execution, continuous verification, contract-first APIs, living specificationsdocs/anchors/spec-driven-development.de.adoc— German translationwebsite/public/data/anchors.json— New entry; categories:requirements-engineering+development-workflow; related:bdd-given-when-then,tdd-london-school,domain-driven-design,ears-requirements,property-based-testingskill/semantic-anchor-translator/references/catalog.md— Entry added under Requirements Engineering so AI agents can surface this anchorOriginal prompt
⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.