Semantische Anker zur Kontextverkürzung für agentisches Coden
  • HTML 71.9%
  • JavaScript 19.1%
  • Python 4.1%
  • CSS 4%
  • Shell 0.9%
Find a file
Ralf D. Müller 3f3cb0e5bd
Merge pull request #537 from steffakasid/feature/copy-keyword-button
feat: add copy keyword button to cards and modal
2026-05-29 15:40:15 +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 Add step to create 404.html in deploy workflow 2026-03-27 13:18:08 +01:00
docs feat: link the Harness Inventory page from navigation and related workflow pages 2026-05-26 08:08:38 +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 chore: bump socratic-code-theory-recovery skill to 0.2 and plugin to 0.2.0 2026-05-22 08:46:02 +02:00
scripts feat(docs): move inline TOC to a responsive left sidebar; preserve logo aspect ratio 2026-05-26 08:48:55 +02:00
skill chore: bump socratic-code-theory-recovery skill to 0.2 and plugin to 0.2.0 2026-05-22 08:46:02 +02:00
website Merge pull request #537 from steffakasid/feature/copy-keyword-button 2026-05-29 15:40:15 +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: add AgentSkill sync check to CodeRabbit config 2026-03-04 16:25:46 +00:00
.gitattributes feat: add onboarding and translator skills for coding agents 2026-04-05 18:19:47 +02:00
.gitignore chore: ignore .venv/ and .linkedin/ 2026-05-12 15:08:26 +02:00
.pre-commit-config.yaml fix: Pass config file to AsciiDoc linter in pre-commit hook 2026-03-02 12:04:35 +01: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 semantic-anchors Claude Code plugin with pre-commit sync 2026-04-05 18:07:02 +02:00
CONTRIBUTING.adoc feat: add Rejected Proposals page with categorized rejection reasons 2026-03-09 22:11:43 +01:00
CONTRIBUTING.md docs: clarify dev setup in CONTRIBUTING.md [skip ci] 2026-05-28 14:09:45 +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: Resolve minimatch ReDoS vulnerabilities in root and scripts 2026-03-02 13:02:51 +01: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 refactor: move agent installation docs to separate file 2026-04-06 19:32:20 +02:00
README.md refactor: move agent installation docs to separate file 2026-04-06 19:32: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

Deploy to GitHub Pages License Stars

A curated catalog of well-defined terms, methodologies, and frameworks that serve as reference points when communicating with Large Language Models (LLMs).

🌐 Interactive Website

Visit the Semantic Anchors website →

Features:

  • 📊 Interactive Treemap Visualization - Explore 46+ semantic anchors
  • 🎯 Role-Based Filtering - Filter by 12 professional roles
  • 🔍 Real-Time Search - Find anchors by name, tags, or proponents
  • 🌙 Dark/Light Theme - Comfortable viewing in any environment
  • 🌍 Bilingual UI - English/German interface (content in English)

📖 What are Semantic Anchors?

Semantic anchors are well-defined terms, methodologies, or frameworks that act as shared vocabulary between humans and LLMs. They trigger specific, contextually rich knowledge domains within an LLM's training data.

Examples

  • "TDD, London School" → Activates: outside-in testing, mock-heavy approach, interaction-based verification
  • "Clean Architecture" → Activates: Uncle Bob's layered design, dependency rule, use cases as center
  • "SOLID Principles" → Activates: S.O.L.I.D. breakdown, object-oriented design patterns

Why Use Them?

  • Precision - Reduce ambiguity by referencing established knowledge
  • Efficiency - Activate complex frameworks with minimal tokens
  • Consistency - Ensure LLMs interpret concepts as the community intends
  • Context Compression - Convey rich context concisely

🤖 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 Agent Installation Guide for setup instructions covering Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot, and Windsurf.

📚 Content Structure

The catalog is organized as:

docs/
├── anchors/          # 46+ individual anchor files
│   ├── tdd-london-school.adoc
│   ├── clean-architecture.adoc
│   └── ...
├── categories/       # 11 MECE-compliant categories
├── roles/            # 12 professional roles
└── metadata/         # Generated metadata for website

🎯 Browse by Role

Find anchors relevant to your profession:

🤝 Contributing

We welcome contributions! See our Contributing Guide for:

  • How to propose new semantic anchors
  • Quality criteria for anchors
  • Testing methodology with LLMs
  • Development setup

Quick Start

  1. Test your anchor with an LLM:
    What concepts do you associate with '<anchor name>'?
    
  2. Verify quality criteria: Precise, Rich, Consistent, Attributable
  3. Create an issue using our Propose New Anchor template

🛠️ Development

Prerequisites

  • Node.js 20+
  • npm

Setup

# Clone repository
git clone https://github.com/LLM-Coding/Semantic-Anchors.git
cd Semantic-Anchors

# Install website dependencies
cd website
npm install

# Run development server
npm run dev
# → http://localhost:5173/

# Run tests
npm run test

# Build for production
npm run build

Project Scripts

# Extract metadata from anchor files
cd scripts
npm install
node extract-metadata.js

# Validate anchors
npm run validate

# Build website
cd website
npm run build

📋 Documentation

🏗️ Architecture

Built with:

  • Vite - Fast, modern build tool
  • Apache ECharts - Interactive treemap visualization
  • Tailwind CSS - Utility-first styling
  • AsciiDoc - Content format with metadata attributes
  • GitHub Pages - Hosting and deployment

See ADRs for detailed decision rationale with Pugh matrix analysis.

📊 Project Status

Phase 1: Foundation (Complete)

  • MECE analysis of categories
  • Role mapping for all anchors
  • Split README into individual files
  • Metadata extraction scripts

Phase 2: Website (Complete)

  • Interactive treemap visualization
  • Role-based filtering
  • Real-time search
  • i18n (EN/DE)
  • Dark/Light theme
  • 60 passing tests

🚧 Phase 3: Deployment (In Progress)

  • GitHub Actions workflow
  • Issue templates
  • Contributing guide
  • Documentation updates

🔮 Phase 4: Enhancement (Planned)

  • GitHub Copilot validation workflow
  • Advanced search features
  • Anchor detail view
  • Category visualization improvements

📈 Statistics

  • 46 Semantic Anchors
  • 12 Professional Roles
  • 11 MECE-compliant Categories
  • 60 Passing Tests
  • 2 Languages (EN/DE UI)

📄 License

This project is licensed under the MIT License.

🙏 Acknowledgments

  • Architecture & Design: Claude Sonnet 4.5 (AI-assisted)
  • Maintainer: @rdmueller
  • Community: All contributors proposing and improving semantic anchors

Star History

Star History Chart