This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This repository contains a comprehensive, standalone HTML guide for Claude Code best practices. It serves as an interactive reference for developers learning to use Claude Code effectively.
claude-code-guide-standalone.html- Main guide file containing all content, styling, and interactive features in a single HTML document
- Interactive Navigation: Multi-section guide with tabbed navigation
- Self-Contained: All CSS, JavaScript, and content in one file for easy sharing and offline use
- Progressive Enhancement: Works without JavaScript, enhanced with interactive features
- Responsive Design: Optimized for both desktop and mobile viewing
- Print-Friendly: Includes print styles for physical documentation
The HTML guide uses:
- Vanilla JavaScript: No dependencies, simple DOM manipulation for section switching
- CSS Grid/Flexbox: Modern layout techniques for responsive design
- Progressive Enhancement: Core content accessible without JavaScript
- Semantic HTML: Proper heading hierarchy and accessibility features
- Overview - Introduction to Claude Code philosophy and core features
- Commands - Comprehensive slash command reference
- Setup & Configuration - Environment optimization and MCP setup
- CLAUDE.md Files - Project configuration best practices
- Workflows - Proven development patterns and methodologies
- Safety & Permissions - Security considerations and permission management
- Advanced Features - Custom commands and MCP integration
- Pro Tips - Performance optimization and expert guidance
- Keep content synchronized with official Claude Code documentation
- Maintain single-file architecture for portability
- Test across different browsers and devices
- Validate HTML and CSS for standards compliance
- Ensure all interactive features degrade gracefully
- This is a static reference guide - no build process or dependencies required
- All content is embedded within the HTML file for maximum portability
- The guide is designed to be shared easily via file transfer or hosting
- Interactive features use standard web APIs for broad compatibility