Skip to content

Convert ActionScript 3.0 HTML docs to LLM-friendly markdown and add Claude skills#2

Merged
luthebao merged 3 commits intomainfrom
copilot/convert-html-to-markdown
Jan 6, 2026
Merged

Convert ActionScript 3.0 HTML docs to LLM-friendly markdown and add Claude skills#2
luthebao merged 3 commits intomainfrom
copilot/convert-html-to-markdown

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 6, 2026

Converted 643 HTML documentation files to clean markdown format optimized for LLM consumption and created ActionScript 3.0 skills for VSCode Copilot/Claude Code integration.

Changes

  • Markdown Conversion: Created convert_html_to_md.py to extract content from HTML, strip navigation/scripts, and output clean markdown preserving code examples and structure

    • Converted all 643 HTML files to markdown-docs/ maintaining directory hierarchy
    • No file size limits - files can be any length
  • Claude Skills: Created .claude/skills/ with 5 comprehensive ActionScript skills:

    • actionscript-basics.md - Core language, OOP, type system
    • actionscript-collections.md - Arrays, Vectors, Dictionary patterns
    • actionscript-display-graphics.md - Display list, drawing APIs
    • actionscript-events.md - Event system, async patterns
    • actionscript-api-reference.md - API navigation guide
  • Documentation: Added README files for markdown-docs/ and updated root README with structure and usage

Example Usage

# Browse converted docs
cat markdown-docs/Array.md
cat markdown-docs/flash/display/Sprite.md

# Search across all docs
grep -r "addEventListener" markdown-docs/

# Reconvert if needed
python3 convert_html_to_md.py --input html-docs --output markdown-docs

The markdown files maintain all original content (class descriptions, methods, properties, examples) while removing HTML boilerplate, making them suitable for direct LLM context feeding or AI-assisted coding workflows.

Original prompt

Now convert all documents from html-docs into markdown files, maximum 1 file .md is 200 lines. Make sure the documents are clear and friendly with LLM.

Then create .claude/skills for actionscript skills to use in VSCode copilot or claude code.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits January 6, 2026 04:56
Co-authored-by: luthebao <20950325+luthebao@users.noreply.github.com>
Co-authored-by: luthebao <20950325+luthebao@users.noreply.github.com>
Copilot AI changed the title [WIP] Convert HTML documents to Markdown format Convert ActionScript 3.0 HTML docs to LLM-friendly markdown and add Claude skills Jan 6, 2026
Copilot AI requested a review from luthebao January 6, 2026 04:58
@luthebao luthebao marked this pull request as ready for review January 6, 2026 05:00
@luthebao luthebao merged commit b340ce0 into main Jan 6, 2026
@luthebao luthebao deleted the copilot/convert-html-to-markdown branch January 6, 2026 05:00
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.

2 participants