Semantische Anker zur Kontextverkürzung für agentisches Coden
  • HTML 66.6%
  • JavaScript 24.5%
  • CSS 4.1%
  • Python 3.7%
  • Shell 1.1%
Find a file
2026-07-14 11:34:13 +02:00
.claude-plugin chore: bump socratic-code-theory-recovery skill to 0.2 and plugin to 0.2.0 2026-05-22 08:46:02 +02:00
.githooks feat: add semantic-anchors Claude Code plugin with pre-commit sync 2026-04-05 18:07:02 +02:00
.github docs: ADR-008 — personality/assessment frameworks as anchors (Utility Gate) 2026-07-06 22:52:57 +02:00
docs feat: add Effective Python semantic anchor (EN + DE) (#694) 2026-07-14 11:34:13 +02:00
evaluations feat: evaluation specs + results for GTD, KISS, P.A.R.A. 2026-03-27 10:38:46 +00:00
plugins/semantic-anchors feat: add Effective Python semantic anchor (EN + DE) (#694) 2026-07-14 11:34:13 +02:00
scripts feat: add governance roles to role taxonomy (#542) (#659) 2026-07-14 08:50:02 +02:00
skill feat: add Effective Python semantic anchor (EN + DE) (#694) 2026-07-14 11:34:13 +02:00
website chore: regenerate anchor metadata from source .adoc 2026-07-08 17:24:19 +02:00
.asciidoc-linter.yml fix: disable WS001 linter rule to avoid false positives with [discrete] 2026-02-22 08:48:41 +00:00
.coderabbit.yml chore: tell CodeRabbit the anchor doctitle uses single '=' 2026-06-02 16:04:41 +02:00
.gitattributes feat: add onboarding and translator skills for coding agents 2026-04-05 18:19:47 +02:00
.gitignore fix: add missing social-media preview image (og:image 404) 2026-07-02 13:55:02 +02:00
.pre-commit-config.yaml feat: add IOSP anchor and TDD Hamburg Style contract 2026-06-03 09:46:39 +02:00
.pre-commit-install.sh feat: Set up pre-commit hooks with AsciiDoc linter 2026-02-13 20:33:25 +01:00
CLAUDE.md feat: add Presentation Planning semantic contract 2026-07-01 09:14:54 +02:00
CONTRIBUTING.adoc docs: ADR-008 — personality/assessment frameworks as anchors (Utility Gate) 2026-07-06 22:52:57 +02:00
CONTRIBUTING.md Merge pull request #570 from JensGrote/docs/issue-title-convention-564 2026-06-02 17:45:23 +02:00
dark-mode.png fix: Update all anchor files with MECE categories (#55) 2026-02-13 15:04:47 +01:00
homepage-updated.png fix: Update all anchor files with MECE categories (#55) 2026-02-13 15:04:47 +01:00
homepage.png chore: Bump version to 0.3.0 (trigger redeploy for cache bust) 2026-02-13 14:59:13 +01:00
LICENSE Initial commit 2025-11-10 21:59:44 +01:00
package-lock.json fix(security): clear non-breaking npm audit advisories (scripts, root) 2026-06-27 20:49:58 +02:00
package.json chore: update changelog, regenerate llms.txt, add to build pipeline 2026-03-26 20:34:38 +00:00
PROJECT_STATUS.md docs: Update documentation to reflect card grid instead of treemap (#91) 2026-02-20 11:03:24 +01:00
README.adoc Update star history image to responsive format 2026-07-07 20:10:20 +02:00
search-tdd.png fix: Update all anchor files with MECE categories (#55) 2026-02-13 15:04:47 +01:00

= Semantic Anchors for LLMs
:toc:
:icons: font
:experimental:

++++
<a href="https://www.star-history.com/?repos=LLM-Coding%2FSemantic-Anchors&type=date&legend=top-left">
 <picture>
   <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=LLM-Coding/Semantic-Anchors&type=date&theme=dark&legend=top-left&sealed_token=iGeDv_VxZyQUce9jB8mS-R_HRB7CoMmPPPRnV33fgDVkEFsA6Rr0ZINV3V4NgiKYOJoJp4nh12Qh2pd0M-4HGAjO9XdJzUdUMTIxNZToK2juUXC6KcRyBg" />
   <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=LLM-Coding/Semantic-Anchors&type=date&legend=top-left&sealed_token=iGeDv_VxZyQUce9jB8mS-R_HRB7CoMmPPPRnV33fgDVkEFsA6Rr0ZINV3V4NgiKYOJoJp4nh12Qh2pd0M-4HGAjO9XdJzUdUMTIxNZToK2juUXC6KcRyBg" />
   <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=LLM-Coding/Semantic-Anchors&type=date&legend=top-left&sealed_token=iGeDv_VxZyQUce9jB8mS-R_HRB7CoMmPPPRnV33fgDVkEFsA6Rr0ZINV3V4NgiKYOJoJp4nh12Qh2pd0M-4HGAjO9XdJzUdUMTIxNZToK2juUXC6KcRyBg" />
 </picture>
</a>
++++

== 🚀 Explore the Catalog

Browse the full catalog of 60+ semantic anchors with interactive visualization, search, and role-based filtering:

🌐 *https://raifdmueller.github.io/Semantic-Anchors/[Visit Semantic Anchors Website]*

== What are Semantic Anchors?

*Semantic anchors* are well-defined terms, methodologies, and frameworks that serve as reference points when communicating with Large Language Models (LLMs). They act as shared vocabulary that triggers specific, contextually rich knowledge domains within an LLM's training data.

*Example:* Instead of explaining "write tests before code, use mocks, design from outside-in," you can simply say *"TDD, London School"* and the LLM activates its entire knowledge about that methodology.

=== Why Use Them?

[horizontal]
🎯 *Precision*:: Reduce ambiguity by referencing established bodies of knowledge
⚡ *Efficiency*:: Convey rich context with minimal tokens
🔄 *Consistency*:: Ensure LLMs interpret concepts as intended
🧠 *Depth*:: Activate multiple interconnected concepts with a single term

== 🤖 Using Anchors with Local LLMs

Most frontier LLMs already recognize semantic anchors from their training data. However, if you use local or smaller models (Llama, Mistral, Phi, etc.) that may not know all anchors, you can inject explicit definitions into your project's agent instruction files. See the link:docs/agent-installation.adoc[Agent Installation Guide] for setup instructions covering Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot, and Windsurf.

== Quality Criteria

A good semantic anchor is:

* *Precise*: References a specific, established body of knowledge
* *Rich*: Activates multiple interconnected concepts
* *Consistent*: Different users get similar conceptual activation
* *Attributable*: Can be traced to key proponents or publications

Learn more in our link:https://raifdmueller.github.io/Semantic-Anchors/#/about[About page].

== Contributing

We welcome proposals for new semantic anchors! Our automated workflow with GitHub Copilot makes contributing easy:

1. Click link:https://github.com/LLM-Coding/Semantic-Anchors/issues/new?template=propose-anchor.yml[Propose New Anchor]
2. Provide the term and optional context
3. Copilot validates against quality criteria
4. If accepted, Copilot enriches and creates the anchor
5. Maintainers review and merge the PR

See the full link:CONTRIBUTING.adoc[Contributing Guide] or read it on the link:https://raifdmueller.github.io/Semantic-Anchors/#/contributing[website].

== Categories

The catalog is organized into 12 MECE (Mutually Exclusive, Collectively Exhaustive) categories:

* Communication & Presentation
* Design Principles & Patterns
* Development Workflow
* Dialogue & Interaction Patterns
* Documentation Practices
* Meta
* Problem-Solving Methodologies
* Requirements Engineering
* Software Architecture
* Statistical Methods & Process Monitoring
* Strategic Planning & Decision Making
* Testing & Quality Practices

== Professional Roles

Filter anchors by role:

* Software Developer / Engineer
* Software Architect
* QA Engineer / Tester
* DevOps Engineer
* Product Owner / Product Manager
* Business Analyst / Requirements Engineer
* Technical Writer / Documentation Specialist
* UX Designer / Researcher
* Data Scientist / Statistician
* Consultant / Coach
* Team Lead / Engineering Manager
* Educator / Trainer

== Project Structure

----
Semantic-Anchors/
├── docs/
│   ├── anchors/          # Individual anchor files (60+)
│   ├── about.adoc        # About page content
│   ├── PRD.md            # Product Requirements
│   ├── specs/            # Specifications & ADRs
│   └── arc42/            # Architecture docs
├── website/              # Vite-based static site
│   ├── src/
│   │   ├── components/   # Card Grid, Modal, etc.
│   │   ├── utils/        # Search, Router, Data
│   │   └── styles/       # Tailwind CSS
│   └── public/
├── scripts/              # Metadata extraction
├── CONTRIBUTING.adoc     # Contribution guide
└── CLAUDE.md             # Project instructions for AI agents
----

== Development

=== Prerequisites

* Node.js 20+
* npm

=== Local Development

[source,bash]
----
cd website
npm install
npm run dev
----

Open http://localhost:5173

=== Build

[source,bash]
----
# Extract metadata from anchors
cd scripts
npm ci
node extract-metadata.js

# Build website
cd ../website
npm run build
----

=== Deployment

The website is automatically deployed to GitHub Pages on push to `main`:

* *Production*: https://raifdmueller.github.io/Semantic-Anchors/
* *Workflow*: `.github/workflows/deploy.yml`

== Technology Stack

* *Build Tool*: Vite 7.x
* *Visualization*: Card Grid with category sections
* *Search*: Full-text search with async indexing
* *Content*: AsciiDoc with asciidoctor.js
* *Styling*: Tailwind CSS with typography plugin
* *i18n*: English/German language switching
* *Hosting*: GitHub Pages
* *Automation*: GitHub Actions + Copilot

== Architecture Decisions

All major decisions documented with Pugh matrices:

* link:docs/specs/adrs/adr-001-static-site-generator.adoc[ADR-001]: Vite as Static Site Generator
* link:docs/specs/adrs/adr-002-metadata-storage.adoc[ADR-002]: AsciiDoc Attributes for Metadata
* link:docs/specs/adrs/adr-003-treemap-library.adoc[ADR-003]: Apache ECharts for Treemap (superseded by ADR-005)
* link:docs/specs/adrs/adr-004-one-file-per-anchor.adoc[ADR-004]: One File per Anchor
* link:docs/specs/adrs/adr-005-card-grid-visualization.adoc[ADR-005]: Card Grid Visualization (current)
* link:docs/specs/adrs/adr-006-code-review-tooling.adoc[ADR-006]: Code-Review Tooling
* link:docs/specs/adrs/adr-007-artifact-taxonomy.adoc[ADR-007]: Artifact Taxonomy — Anchor vs. Contract vs. Skill
* link:docs/specs/adrs/adr-008-personality-assessment-anchors.adoc[ADR-008]: Personality & Assessment Frameworks — the Utility Gate

== Documentation

* link:https://raifdmueller.github.io/Semantic-Anchors/#/about[About Semantic Anchors]
* link:https://raifdmueller.github.io/Semantic-Anchors/#/contributing[Contributing Guide]
* link:docs/PRD.md[Product Requirements Document]
* link:docs/arc42/arc42.adoc[Architecture Documentation (arc42)]
* link:PROJECT_STATUS.md[Project Status & Roadmap]

== License

See link:LICENSE[LICENSE] file.

== Maintainers

This project is maintained by the link:https://github.com/LLM-Coding[LLM Coding] community.

== Questions or Feedback?

* Browse the link:https://raifdmueller.github.io/Semantic-Anchors/[website]
* Read the link:CONTRIBUTING.adoc[Contributing Guide]
* Open an link:https://github.com/LLM-Coding/Semantic-Anchors/issues[issue]

---

*Start exploring:* https://raifdmueller.github.io/Semantic-Anchors/