Skip to content

Combined AI knowledge base with strict documentation standards #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

blink-so[bot]
Copy link

@blink-so blink-so bot commented Jun 9, 2025

Summary

This PR combines the best elements from both previous approaches (#2 and #3) while maintaining strict adherence to documentation standards. The critical requirement of never using emojis in headings or list items is emphasized throughout.

Key Changes

Combined Approach

  • AI-optimized knowledge base that provides instant Coder expertise
  • Interactive Q&A functionality for user support and documentation gaps
  • Strict documentation standards to ensure consistency
  • Complementary relationship with official docs at https://coder.com/docs

Critical Documentation Standards

  • No emojis in headings or list items - This is non-negotiable
  • Enhanced style guide with critical rules section
  • AI-specific guidelines to prevent common pitfalls
  • Quality checklist for all contributions
  • Consistent terminology and formatting rules

Repository Structure

shared-docs-kb/
├── Documentation Standards
│   ├── style-guide.md - Enhanced with critical rules
│   ├── templates/ - Content structure scaffolds
│   └── documentation-standards/ - Additional standards
├── Architecture and Mental Models
│   ├── architecture-notes.md - Technical understanding
│   └── repo-navigation.md - Repository ecosystem guide
├── AI Integration and Workflows
│   ├── integration/ - AI-specific configurations
│   └── ai-project-notes.md - Session tracking
└── Reference and Support
    ├── cli-reference.md - Command documentation
    ├── common-questions.md - FAQ and gap tracking
    └── documentation-gaps.md - Missing information tracking

Core Principles

1. Complement, Don't Duplicate

  • Official docs at https://coder.com/docs remain the single source of truth
  • This knowledge base provides AI-optimized context and patterns
  • Contributions go to both official docs (primary) and this KB (auxiliary)

2. Documentation Standards First

  • Consistency in style, tone, and formatting is critical
  • Never use emojis in headings or list items
  • AI should follow established conventions strictly
  • All contributions must meet quality standards

3. Shared Resource

  • Multiple teams can use this for different purposes
  • Contributions welcome from all Coder community members
  • Maintains broad utility while staying focused

Use Cases

Documentation Writing

  1. Upload style-guide.md for formatting consistency
  2. Upload architecture-notes.md for technical context
  3. Upload relevant templates for structure guidance
  4. AI produces consistent, accurate documentation

User Support (Slack @blink interactions)

  1. Upload common-questions.md for known issues and solutions
  2. Upload cli-reference.md for command syntax
  3. Upload architecture-notes.md for system understanding
  4. AI provides knowledgeable, consistent help

Code Review

  1. Upload architecture-notes.md for design context
  2. Upload style-guide.md for consistency checks
  3. AI reviews code against established patterns

Documentation Standards Highlights

Critical Rules

  • No emojis in headings: # Getting Started not # 🚀 Getting Started
  • No emojis in list items: - Install Coder not - 🔧 Install Coder
  • Consistent terminology: workspace, template, agent, provisioner
  • Code block languages: Always specify bash, hcl, json, etc.
  • Relative links: Use ../admin/configure.md for internal links

AI Guidelines

  • Always reference the style guide before writing
  • Follow formatting rules strictly for consistency
  • Use established terminology from the guide
  • Include working examples that have been tested
  • Check against the quality checklist before submitting

Session Documentation

This approach is documented in ai-project-notes.md as Session ID: 2025-01-15-004, showing how the two previous approaches were combined while maintaining the critical documentation standards.

Benefits

  • Instant AI expertise without formal training on Coder codebase
  • Consistent documentation through strict style standards
  • Interactive Q&A capability for user support
  • Gap detection and contribution to official documentation
  • Scalable foundation for team-specific knowledge bases
  • Quality assurance through systematic standards

This PR supersedes the previous two PRs and provides a single, coherent approach that delivers on the original vision while maintaining the highest documentation standards.

This commit combines the best elements from both previous approaches while maintaining strict adherence to documentation standards, particularly the critical rule of never using emojis in headings or list items.

Key changes:
- Enhanced README that combines AI-optimized knowledge base with Q&A functionality
- Comprehensive style guide with critical rules section emphasizing no emojis
- Clear use cases for documentation writing, user support, and code review
- Maintained existing valuable content while improving organization
- Added session tracking for this combined approach

Core principles established:
1. Complement, don't duplicate official docs at https://coder.com/docs
2. Documentation standards first - consistency is critical
3. Shared resource for multiple teams and use cases
4. Never use emojis in headings or list items
5. AI should follow established conventions strictly

Structure focuses on:
- Documentation standards (style guide, templates, patterns)
- Architecture and mental models (how Coder works)
- AI integration and workflows (optimized prompts and guidelines)
- Reference and support (CLI, FAQ, gap tracking)

This provides instant AI expertise while ensuring consistent, high-quality documentation that follows established standards.

Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
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.

0 participants