# CLAUDE.md This file provides comprehensive guidance to Claude Code (claude.ai/code) when working with this advanced AI-driven software copyright materials generation system. ## Project Overview & Strategic Vision This repository contains a **revolutionary AI-driven Software Copyright Application Materials Generation System** - a pioneering platform that democratizes professional intellectual property protection through systematic knowledge engineering and AI-powered automation. ### Core Innovation & Value Proposition This system represents a **paradigm shift** in software copyright application preparation: - **Knowledge Systematization**: Transforms expert-level copyright application knowledge into reusable, automated AI instructions - **Professional Capability Democratization**: Enables developers of all experience levels to generate professional-grade copyright materials - **Vertical AI Application Pioneer**: First comprehensive application of AI prompt engineering in the software copyright domain - **Multi-dimensional Standardization**: Systematic standardization across UI design, technical architecture, and documentation formats ### System Architecture & Core Components The system implements a **three-tier knowledge-driven architecture**: #### 1. Knowledge Layer (Expert Knowledge Systematization) - **AI Prompt Engineering Suite**: Eight specialized prompts encoding domain expertise - **UI Design Knowledge Base**: Twelve comprehensive design systems covering diverse aesthetic paradigms - **Technical Standards Repository**: Modular technology stack specifications and compliance frameworks - **Quality Assurance Protocols**: Embedded validation and verification mechanisms #### 2. Processing Layer (Intelligent Generation Engine) - **Progressive Construction Pipeline**: Optimized six-stage workflow from conceptualization to delivery (upgraded from previous 8-stage process) - 阶段1:项目初始化和系统架构设计 - 阶段2:产品规划和界面设计 - 阶段3:前端开发实现 - 阶段4:后端系统开发 - 阶段5:软著申请文档生成 - 阶段6:材料整理和质量验收 - **Multi-modal Content Generation**: Coordinated creation of documentation, code, and visual specifications - **Context-Aware Customization**: Dynamic adaptation based on project requirements and user preferences - **Quality Control Integration**: Real-time validation against copyright office standards #### 3. Delivery Layer (Standardized Output Systems) - **Professional Documentation Suite**: Technical specifications, user manuals, and compliance documents - **Complete Source Code Packages**: Full-stack implementations with comprehensive commenting - **Application Materials Portfolio**: Ready-to-submit copyright registration materials - **Verification & Testing Tools**: Automated quality assurance and completeness validation ### Advanced System Capabilities #### Core Technical Innovations - **Domain-Specific AI Prompt Engineering**: Revolutionary application of systematic prompt engineering to encode expert knowledge in software copyright law and application procedures - **Intelligent Multi-Modal Generation**: Coordinated creation of technical documentation, source code, UI specifications, and legal compliance materials through AI orchestration - **Adaptive Quality Assurance**: Dynamic validation mechanisms ensuring generated materials meet evolving copyright office standards and best practices #### Professional-Grade Output Systems - **Comprehensive Material Generation**: End-to-end creation of all required copyright application components from minimal user input - **Differentiated Design Innovation**: Twelve distinct UI design paradigms preventing application homogenization and demonstrating software uniqueness - **Technical Stack Agnosticism**: Flexible architecture supporting diverse technology combinations while maintaining quality standards - **Scalable Complexity Management**: Intelligent adjustment of output depth and complexity based on project requirements and user expertise level #### User Experience & Accessibility - **Progressive Disclosure Interface**: Guided workflow from 5-minute quick start to comprehensive 6-stage professional process - **Expert Knowledge Democratization**: Complex legal and technical requirements simplified into intuitive user interactions - **Flexible Customization Framework**: Balance between automated generation and user control for specialized requirements - **Cross-Platform Compatibility**: Unified experience across different development environments and operating systems ### Technical Architecture & Design Philosophy #### Foundational Design Principles **1. Knowledge Engineering Excellence** - **Expert Knowledge Codification**: Systematic transformation of domain expertise into executable AI instructions - **Prompt Engineering Precision**: Each of the eight AI prompts represents hundreds of hours of domain expert knowledge distilled into precise, executable instructions - **Quality-by-Design**: Built-in quality controls and validation mechanisms rather than post-generation correction **2. Progressive Value Creation** - **Incremental Complexity Building**: Each workflow stage builds upon previous outputs, creating compound value - **Modular Excellence**: Independent component excellence contributing to superior integrated outcomes - **Adaptive Sophistication**: System intelligence scales with user requirements and project complexity **3. User-Centric Innovation** - **Cognitive Load Minimization**: Complex professional processes simplified without compromising output quality - **Multiple Engagement Modes**: From rapid prototyping to comprehensive professional development - **Expertise Amplification**: System enhances rather than replaces human creativity and domain knowledge #### Core Technology Framework **AI Orchestration Layer** - Advanced prompt engineering with embedded quality controls and domain-specific validation - Multi-modal content coordination ensuring consistency across documentation, code, and visual specifications - Context-aware generation adapting to project type, complexity, and user preferences **Knowledge Management System** - Systematic organization of copyright law requirements, technical standards, and design principles - Version-controlled template systems enabling rapid adaptation to regulatory changes - Modular knowledge components supporting extensibility and customization **Quality Assurance Infrastructure** - Multi-layered validation including syntactic, semantic, and compliance verification - Automated testing frameworks for generated code and documentation - Professional review protocols ensuring materials meet submission standards ### Repository Structure & Ecosystem Components This repository implements a **comprehensive knowledge ecosystem** for professional software copyright material generation: #### Input & Configuration Layer - **requires_docs/**: Structured requirement templates and user project specifications - Multiple requirement template modes (minimal, standard, comprehensive, enterprise-grade) - Flexible technical specification frameworks - Custom UI design override capabilities - **Configuration Management**: Centralized project configuration with intelligent defaults and validation #### Knowledge & Standards Repository - **specs_docs/**: Systematically organized knowledge base and standards - **ui_design_specs/**: Twelve distinct design paradigms with complete implementation guidelines - Each specification contains 800-1000+ lines of professional design documentation - Comprehensive CSS implementations, design principles, and accessibility standards - Strategic differentiation preventing application homogenization - **tech_stack_specs/**: Modular technology framework specifications - **Quality Standards**: Embedded compliance and validation criteria #### AI Intelligence Layer - **system_prompts/**: Eight specialized AI prompt engineering components - 01-软著框架系统提示词.md:系统架构设计和业务需求分析 - 02-页面规划系统提示词.md:功能页面规划和用户体验设计 - 03-界面设计系统提示词.md:UI设计系统和视觉规范制定 - 04-网页代码生成系统提示词.md:前端代码实现和交互开发 - 05-数据库代码生成系统提示词.md:数据模型设计和数据库实现 - 06-后端代码生成系统提示词.md:后端服务架构和API接口开发 - 07-用户手册系统提示词.md:专业用户文档和操作指南编写 - 08-软件著作权登记信息表系统提示词.md:官方申请材料和合规文档生成 - Each prompt encodes specific domain expertise (architecture, design, implementation, documentation) - Progressive workflow integration ensuring consistent output quality - Built-in validation and quality control mechanisms - Adaptive complexity management based on project requirements - **Enhanced Variable System**: All 18 system variables now include Chinese descriptions for improved user experience - Core variables: {{title}}(系统完整名称), {{short_title}}(系统简称), {{front}}(前端开发语言), {{backend}}(后端开发语言) - Document flow: {{requirements_description}}(需求描述), {{framework_design}}(框架设计文档), {{page_list}}(页面规划), {{ui_design}}(界面设计方案) - Generation control: {{generation_mode}}(生成模式), {{page_count_fast}}(快速模式页面数), {{api_count_min}}(最小API数量), etc. #### Generation & Output Systems - **output_docs/**: Professional copyright application material portfolio - **output_sourcecode/**: Complete, submission-ready source code packages - **process_docs/**: Intermediate generation artifacts and workflow documentation #### Automation & Quality Assurance - **Automated tooling**: Project initialization, validation, and generation scripts - **Quality control**: Multi-layered verification and compliance checking - **Workflow management**: Guided six-stage professional development process The system represents a **complete professional ecosystem**, capable of processing any software project concept and generating comprehensive, differentiated, compliance-ready copyright application materials. ### Professional Guidelines & Quality Standards #### Compliance & Legal Requirements - **Regulatory Adherence**: All generated materials must meet current software copyright office requirements and evolving legal standards - **Professional Review Protocol**: AI-generated content requires human expert validation for accuracy, completeness, and legal compliance - **Documentation Standards**: Output materials follow industry best practices and official copyright registration formatting requirements - **Quality Gate Requirements**: Multi-layered validation ensuring professional-grade deliverables suitable for official submission #### Technical Excellence Standards - **Universal Compatibility**: System architecture supports diverse software types, technical stacks, and application domains - **Scalability Assurance**: Generation capabilities adapt from prototype-level to enterprise-grade project requirements - **Innovation Documentation**: Materials systematically highlight software uniqueness, technical innovation, and differentiating features - **Professional Presentation**: All deliverables maintain consistent professional quality and comprehensive technical depth #### Success Optimization Factors - **Requirement Quality**: Investment in detailed, well-structured requirement documentation directly correlates with output excellence - **Domain Context**: Providing industry-specific context and technical constraints enhances generation accuracy and relevance - **Iterative Refinement**: System supports progressive enhancement and specialized customization for complex projects - **Expert Integration**: Framework designed to amplify rather than replace human expertise and creative input ### UI Design System The system features twelve professionally designed UI styles to match diverse software application types and aesthetic preferences: #### Professional Business Styles 1. **Corporate Style (Default)**: Professional business interface suitable for enterprise systems, management platforms, and government applications 2. **Bauhaus Style**: Function-first design with geometric purity, ideal for design tools, architectural systems, and academic platforms 3. **Art Deco Style**: Luxury aesthetics with geometric patterns, perfect for high-end e-commerce, hospitality, and cultural institutions #### Modern & Technology Styles 4. **Cyberpunk Style**: Dark theme with technology aesthetics, ideal for developer tools, data analytics platforms, and tech-focused applications 5. **Futuristic Style**: Digital future aesthetics with HUD interfaces, suitable for data platforms, security systems, and trading applications 6. **Bold Modern Style**: Contemporary design with visual impact, perfect for creative platforms, fashion brands, and innovation products #### Minimalist & Clean Styles 7. **Minimal Style**: Clean and content-focused design, perfect for content management systems, educational platforms, and productivity tools 8. **Japanese Style**: Zen minimalism with Wabi-Sabi aesthetics, ideal for meditation apps, cultural platforms, and lifestyle applications 9. **Scandinavian Style**: Functional simplicity with natural harmony, suitable for lifestyle apps, health platforms, and family-oriented systems #### Creative & Artistic Styles 10. **Memphis Style**: Post-modern rebellion with color carnival, perfect for creative platforms, entertainment media, and youth social applications 11. **Pop Art Style**: Mass culture aesthetics with bright colors, ideal for entertainment platforms, fashion shopping, and creative marketing tools 12. **Elegant Vintage Style**: Classic printing aesthetics with warm tones, suitable for cultural education, academic research, and museum applications #### UI Style Selection Methods: - **Interactive Setup**: Choose during project initialization with `python3 /absolute/path/to/AI-Copyright-Application-Generator/scripts/init/init_project.py` - **Configuration**: Set `ui_design_style` parameter in `ai-copyright-config.json` - **Custom Override**: Create custom UI specification in `requires_docs/UI设计规范.md` #### Priority System: Custom UI Specification > User-Selected Style > System Default (Corporate) --- ## Working with Claude Code: Professional Guidelines ### Understanding System Complexity & Context When working with this repository, recognize that you are engaging with a **sophisticated knowledge engineering system** that: - **Encodes Expert Domain Knowledge**: Each component represents systematic codification of professional expertise in software copyright law, technical documentation, and design standards - **Implements Advanced AI Engineering**: The seven prompt system represents state-of-the-art applied prompt engineering for domain-specific professional outcomes - **Maintains Professional Quality Standards**: All outputs must meet legal submission requirements and professional industry standards ### Code Interaction Principles #### 1. Systematic Understanding Approach - **Architecture-First Analysis**: Always understand the three-tier system architecture before making modifications - **Component Interdependency Recognition**: Changes to any component may affect multiple system layers - **Quality Standard Preservation**: Maintain embedded quality controls and validation mechanisms in all modifications #### 2. Professional Context Awareness - **Legal Compliance Priority**: Software copyright materials have legal implications; accuracy and compliance are paramount - **User Impact Consideration**: System users depend on professional-grade outputs for intellectual property protection - **Expert Knowledge Respect**: Recognize that system components encode significant domain expertise #### 3. Technical Excellence Standards - **Documentation Completeness**: All code modifications must include comprehensive documentation - **Validation Integration**: New features must include appropriate quality assurance and validation mechanisms - **Backward Compatibility**: Maintain compatibility with existing user projects and workflows ### Specific Working Guidelines #### When Modifying AI Prompts (system_prompts/) - **Expert Consultation Mindset**: These prompts encode legal and technical expertise; modifications require deep domain understanding - **Quality Control Preservation**: Maintain embedded validation and quality requirements - **Testing Requirements**: New prompt versions must be validated against known good outputs #### When Working with UI Specifications (specs_docs/ui_design_specs/) - **Design System Integrity**: Each UI specification represents a complete, coherent design system - **Professional Quality Maintenance**: All design elements must maintain professional presentation standards - **Cross-Component Consistency**: Ensure modifications maintain consistency across related components #### When Updating Automation Tools (scripts/) - **User Experience Priority**: These tools must remain accessible to users with varying technical expertise - **Error Handling Excellence**: Robust error handling and user guidance are essential - **Quality Assurance Integration**: All automation must include validation and verification capabilities #### When Enhancing Documentation - **Professional Presentation**: Documentation represents the project to professional users and evaluators - **Accuracy Requirements**: Technical information must be precise and up-to-date - **Completeness Standards**: Users depend on comprehensive guidance for successful outcomes ### Innovation & Extension Guidelines #### Adding New Features - **System Architecture Alignment**: New features must integrate coherently with existing three-tier architecture - **Quality Standard Compliance**: All additions must meet or exceed existing quality standards - **User Value Focus**: Features must provide clear, measurable value to end users #### Extending Compatibility - **Universal Design Principles**: Extensions should enhance rather than limit system accessibility - **Professional Standards Maintenance**: New capabilities must maintain professional output quality - **Documentation Excellence**: New features require comprehensive documentation and user guidance ### Success Metrics & Validation #### Technical Excellence Indicators - **Code Quality**: Clean, well-documented, maintainable implementation - **System Integration**: Seamless integration with existing architecture and workflows - **Performance Standards**: Efficient operation across diverse user environments #### User Value Indicators - **Accessibility**: System remains usable by developers with varying expertise levels - **Professional Outcomes**: Generated materials meet professional and legal standards - **User Success**: System enables successful software copyright applications #### Innovation Impact Indicators - **Knowledge Advancement**: Contributions enhance the systematic codification of domain expertise - **Capability Extension**: New features expand system utility while maintaining quality - **Ecosystem Growth**: Modifications contribute to the broader intellectual property protection ecosystem ### Recent System Optimizations & Improvements The system has undergone significant optimizations to enhance user experience and operational efficiency: #### Workflow Streamlining (2025) - **Process Optimization**: Streamlined from 8-stage to 6-stage workflow for improved efficiency - **Stage Integration**: Combined redundant processes while maintaining comprehensive coverage - **User Experience**: Reduced complexity without compromising output quality #### Variable System Enhancement - **Chinese Localization**: All 18 system variables now include descriptive Chinese names - **User Clarity**: Enhanced readability and user understanding of system components - **Standardization**: Consistent variable naming conventions across all system prompts #### Configuration Improvements - **Variable Renaming**: Updated key variables for clarity: - `system_profile` → `requirements_description`(需求描述) - `deploy_requirements` → `copyright_application`(软件著作权登记信息表) - **Documentation Alignment**: All documentation updated to reflect new naming conventions #### System Prompt Accuracy - **Count Correction**: Updated documentation to reflect actual 8 system prompts (not 7) - **Functional Mapping**: Each prompt now clearly mapped to workflow stages - **Quality Enhancement**: Improved prompt descriptions and usage guidelines --- ## Summary for Claude Code This system represents **cutting-edge applied AI engineering** in a **highly regulated professional domain**. Every interaction should reflect: 1. **Deep respect for embedded expertise** and quality standards 2. **Commitment to professional excellence** and legal compliance 3. **Focus on user success** in intellectual property protection 4. **Innovation within** established quality frameworks Your work with this system contributes to democratizing professional intellectual property protection and advancing the application of AI in specialized professional domains.