Skip to content

docs: refactor documentation and fix inconsistencies#3178

Merged
MarkusNeusinger merged 6 commits intomainfrom
claude/refactor-documentation-iGXkI
Jan 6, 2026
Merged

docs: refactor documentation and fix inconsistencies#3178
MarkusNeusinger merged 6 commits intomainfrom
claude/refactor-documentation-iGXkI

Conversation

@MarkusNeusinger
Copy link
Copy Markdown
Owner

Summary

  • Refactored documentation structure for clarity and accuracy
  • Fixed inconsistencies between docs and actual workflow implementations
  • Translated German text to English
  • Updated outdated references

Key Changes

Documentation Fixes

  • docs/contributing.md: Fixed GitHub link (your-repoMarkusNeusinger/pyplots)
  • docs/workflows/overview.md:
    • Fixed quality score logic (>= 90, or >= 50 after 3 attempts)
    • Fixed metadata creation workflow (impl-generate creates, impl-review updates, impl-merge does NOT create)
  • docs/database.md: Corrected quality reports location (metadata files, not GitHub Issues)
  • docs/plot-types-catalog.md: Translated German descriptions to English

Instruction Files

  • CLAUDE.md: Fixed quality reports references (metadata, not GitHub Issues)
  • copilot-instructions.md: Updated quality score label description
  • prompts/README.md: Fixed workflow names and file paths
    • gen-library-impl.ymlimpl-generate.yml
    • gen-update-plot.ymlimpl-repair.yml
    • bot-ai-review.ymlimpl-review.yml
    • spec.mdspecification.md

New Files

  • docs/development.md: New human-focused development guide (separated from CLAUDE.md which is AI-only)

Test plan

  • All documentation references verified against actual code
  • Workflow diagrams match actual workflow implementations
  • No broken internal links

🤖 Generated with Claude Code

claude and others added 6 commits January 6, 2026 18:08
- Analyze current documentation structure and redundancy issues
- Propose new organization by user persona (users/contributors/developers)
- Streamline CLAUDE.md from 937 to <200 lines (rules only)
- Separate concepts (WHY) from workflows (WHAT) from implementation (HOW)
- Create clear navigation with docs/index.md as entry point
- Include 4-phase migration plan with success metrics
Key changes:
- CLAUDE.md stays comprehensive (600-700 lines, not <200)
- Focus on better structure and removing internal redundancy
- Clear separation: CLAUDE.md for AI, docs/ for humans
- Keep all rules, workflows, and 'where things are' in CLAUDE.md
- Remove duplicate explanations within CLAUDE.md
- Eliminate duplication between CLAUDE.md and other docs
Key principle: Documentation describes what EXISTS, not what's planned

Changes:
- Add 'Document what exists' as primary philosophy
- List unimplemented features to remove from docs
- Identify files to delete (ab-testing, claude-skill concepts)
- Move future plans to GitHub Issues/Milestones
- Add verification questions (what's actually working?)

To remove from docs:
- Multi-LLM review (if not active)
- User data upload / premium features
- Rules versioning/A/B testing
- Future optimization sections
- API client SDKs that don't exist
- Unverified social media/n8n workflows
Verified against actual codebase:

EXISTS:
- Single LLM review (Claude only via anthropics/claude-code-action)
- Thumbnails (impl-generate.yml + core/images.py)
- GCS staging/production workflow
- Tagging in PostgreSQL JSONB
- Basic API (specs, plots, libraries, health, download, stats)
- OG image branding

DOES NOT EXIST (remove from docs):
- Multi-LLM review (Claude + Gemini + GPT)
- /plots/generate endpoint
- Premium tier
- n8n workflows
- Rules versioning / A/B testing
- Python/JS client SDKs
- Firestore

Files to delete:
- docs/concepts/ab-testing-rules.md
- docs/concepts/claude-skill-plot-generation.md
- Rename documentation files for clarity
- Update references in specification.yaml and other files
- Improve descriptions in plot-types-catalog.md and README.md
- Add initial creation of metadata/{library}.yaml in impl-generate.yml
- Update metadata/{library}.yaml with quality score and review feedback in impl-review.yml
Copilot AI review requested due to automatic review settings January 6, 2026 22:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors documentation structure and fixes inconsistencies between docs and actual workflow implementations. The changes include organizing documentation into concepts/, workflows/, and reference/ directories, translating German text to English, fixing incorrect references to workflow files and quality report storage locations, and updating GitHub repository links.

Key changes:

  • Reorganized documentation into logical subdirectories (concepts/, workflows/, reference/)
  • Fixed quality report references (changed from "GitHub Issues" to "metadata files")
  • Corrected workflow file name references throughout documentation
  • Translated remaining German text to English
  • Updated GitHub repository references from placeholder to actual repo

Reviewed changes

Copilot reviewed 110 out of 114 changed files in this pull request and generated no comments.

Show a summary per file
File Description
prompts/templates/specification.yaml Updated tagging system reference path
prompts/README.md Fixed workflow file names and library count
plots/*/specification.yaml (78 files) Updated tagging system documentation path
docs/workflows/overview.md New comprehensive workflow documentation
docs/workflow.md Deleted old workflow documentation
docs/specs-guide.md Deleted old specs guide
docs/reference/tagging-system.md New location for tagging documentation
docs/reference/seo.md New SEO configuration documentation
docs/reference/repository.md Updated repository structure documentation
docs/reference/plausible.md New analytics tracking documentation
docs/reference/database.md Updated database documentation with corrected quality report references
docs/reference/api.md New API reference documentation
docs/plot-types-catalog.md Translated German descriptions to English
docs/index.md New documentation index
docs/development.md Refactored development guide
docs/contributing.md New contributing guide
docs/concepts/vision.md New product vision documentation
docs/concepts/claude-skill-plot-generation.md Deleted obsolete documentation
docs/concepts/ab-testing-rules.md Deleted obsolete documentation
docs/architecture/api.md Deleted old API documentation
README.md Updated documentation references and quality review description
CLAUDE.md Updated quality report references and documentation paths
.github/workflows/spec-create.yml Updated tagging system path reference
.github/copilot-instructions.md Updated quality score description and anti-patterns
.claude/commands/prime.md Updated documentation file references

The changes are well-organized and appear to be comprehensive. All updates correctly reflect the move from scattered documentation to a structured hierarchy.

@MarkusNeusinger MarkusNeusinger merged commit 502373c into main Jan 6, 2026
12 checks passed
@MarkusNeusinger MarkusNeusinger deleted the claude/refactor-documentation-iGXkI branch January 6, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants