rpd:ai_wiki
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| rpd:ai_wiki [2025/12/20 22:55] – Add ai_wiki page documenting tools and methodologies for AI-assisted wiki maintenance mike | rpd:ai_wiki [2025/12/20 22:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== AI Wiki Documentation and Tool Suggestions ====== | ||
| + | This page documents the tools, methodologies, | ||
| + | |||
| + | ==== Tools Used ==== | ||
| + | |||
| + | ===== Code Search and Analysis ===== | ||
| + | * **grep_search**: | ||
| + | * **read_file**: | ||
| + | * **read_many_files**: | ||
| + | |||
| + | ===== Wiki Maintenance Tools ===== | ||
| + | * **find_red_links.py**: | ||
| + | * **scale_sprites_for_wiki.py**: | ||
| + | * **check_broken_images.py**: | ||
| + | |||
| + | ==== Methodology for Wiki Page Creation and Verification ==== | ||
| + | |||
| + | ===== Process for Creating/ | ||
| + | 1. **Research**: | ||
| + | 2. **Implementation Analysis**: Read Java files to understand game mechanics | ||
| + | 3. **Lua Script Review**: Examine Lua scripts for moddable entities | ||
| + | 4. **JSON Configuration Review**: Check JSON files for entity definitions | ||
| + | 5. **String Resources**: | ||
| + | 6. **Create/ | ||
| + | 7. **Cross-reference**: | ||
| + | 8. **Verify**: Ensure all information is accurate and up-to-date | ||
| + | |||
| + | ===== Information Sources ===== | ||
| + | Each wiki page should reference: | ||
| + | * Java implementation files | ||
| + | * Lua scripts for moddable entities | ||
| + | * JSON configuration files | ||
| + | * String resources (with specific line numbers when possible) | ||
| + | * Image resources | ||
| + | * Related game entities | ||
| + | |||
| + | ==== Page Structure Recommendations ==== | ||
| + | |||
| + | ===== Standard Sections for Game Entity Pages ===== | ||
| + | * **Description**: | ||
| + | * **Stats**: Numerical values (with depth-scaling when applicable) | ||
| + | * **Special Abilities**: | ||
| + | * **Loot**: Items dropped or obtained | ||
| + | * **Strategy**: | ||
| + | * **Technical Details**: Links to source code | ||
| + | * **Code References**: | ||
| + | * **See Also**: Related entities and concepts | ||
| + | |||
| + | ===== Naming Conventions ===== | ||
| + | * Use snake_case for all wiki page names | ||
| + | * Use entity type suffixes (e.g., _mob, _item, _spell, _buff, _class, _subclass) | ||
| + | * Maintain consistency with existing page naming | ||
| + | |||
| + | ==== Special Considerations for MR Namespace Pages ==== | ||
| + | |||
| + | Machine-readable namespace pages (mr:) should contain: | ||
| + | * Entity kind identifiers used in getEntityKind() method | ||
| + | * Raw code excerpts | ||
| + | * JSON configuration files content | ||
| + | * Lua script code | ||
| + | * String resource keys and values | ||
| + | * Direct file paths to implementations | ||
| + | |||
| + | ==== Common Issues Found and Resolved ==== | ||
| + | |||
| + | ===== Obsolete Information ===== | ||
| + | * Stats that don't reflect depth scaling | ||
| + | * Old ability descriptions that don't match current implementations | ||
| + | * Incorrect item drops or probabilities | ||
| + | * Wrong immunities, resistances or vulnerabilities | ||
| + | |||
| + | ===== Red Links ===== | ||
| + | * Create missing pages for referenced entities | ||
| + | * Ensure proper cross-linking between related pages | ||
| + | * Use correct namespace and naming conventions | ||
| + | |||
| + | ===== Inconsistent Information ===== | ||
| + | * Different pages having conflicting information about the same entity | ||
| + | * Outdated strategy sections that no longer apply to current game mechanics | ||
| + | |||
| + | ==== Suggested Automation Tools ==== | ||
| + | |||
| + | ===== Potential AI-Assisted Tools ===== | ||
| + | * **Auto-verification Script**: Automatically compares wiki information with game code to identify discrepancies | ||
| + | * **MR Page Generator**: | ||
| + | * **Stat Validation**: | ||
| + | * **Link Validation**: | ||
| + | * **Localization Checker**: Verifies that wiki pages align with string resources for different languages | ||
| + | * **API Documentation Generator**: | ||
| + | |||
| + | ===== Proposed Workflow Improvements ===== | ||
| + | * Integrate wiki validation into the build process | ||
| + | * Create automatic detection for new game entities that need wiki pages | ||
| + | * Develop templates for different types of game entities to ensure consistency | ||
| + | * Implement version tracking to understand when wiki pages become outdated compared to code changes | ||
| + | |||
| + | ==== Quality Assurance Practices ==== | ||
| + | |||
| + | ===== Information Accuracy ===== | ||
| + | * Always verify information against the actual source code | ||
| + | * Include specific file paths and line numbers when referencing code | ||
| + | * Note when information is depth-dependent or conditional | ||
| + | * Flag information that might change between game versions | ||
| + | |||
| + | ===== Page Completeness ===== | ||
| + | * Ensure all major properties of game entities are documented | ||
| + | * Include both mechanical effects and strategic implications | ||
| + | * Add proper cross-references to related entities and mechanics | ||
| + | * Include appropriate images and visual aids | ||
| + | |||
| + | {{tag> rpd ai wiki tools }} | ||
rpd/ai_wiki.txt · Last modified: by 127.0.0.1
