Skip to main content
AI/MLCrestApps

crestapps-core-document-processing

Skill for uploaded document ingestion, document RAG, readers, and document downloads in CrestApps.Core.

Stars
13
Source
CrestApps/CrestApps.AgentSkills
Updated
2026-05-29
Slug
CrestApps--CrestApps.AgentSkills--crestapps-core-document-processing
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/CrestApps/CrestApps.AgentSkills/HEAD/plugins/crestapps-core/skills/crestapps-core-document-processing/SKILL.md -o .claude/skills/crestapps-core-document-processing.md

Drops the SKILL.md into .claude/skills/crestapps-core-document-processing.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

CrestApps.Core Document Processing - Prompt Templates

Add Document Processing

You are a CrestApps.Core expert. Generate code and guidance for document ingestion and document RAG in CrestApps.Core.

Guidelines

  • Use CrestApps.Core.AI.Documents for the document pipeline.
  • Add OpenXml and Pdf support explicitly because they are opt-in packages.
  • Add Markdown normalization explicitly when Markdig-backed normalization is needed.
  • Provide stores on the document-processing builder.
  • Use AddReferenceDownloads() plus AddDownloadAIDocumentEndpoint() when citations should become downloadable links.

Builder Registration

builder.Services.AddCrestAppsCore(crestApps => crestApps
    .AddAISuite(ai => ai
        .AddMarkdown()
        .AddChatInteractions()
        .AddDocumentProcessing(documentProcessing => documentProcessing
            .AddEntityCoreStores()
            .AddOpenXml()
            .AddPdf()
            .AddReferenceDownloads()
        )
        .AddOpenAI()
    )
    .AddEntityCoreSqliteDataStore("Data Source=app.db")
);

app.AddChatApiEndpoints()
    .AddDownloadAIDocumentEndpoint();

Built-in Reader Coverage

Reader Formats
Plain text reader .txt, .md, .json, .xml, .html, .htm, .log, .yaml, .yml, .csv
OpenXml reader .docx, .pptx, .xlsx
Pdf reader .pdf

Built-in Document Tools

  • SearchDocumentsTool
  • ReadDocumentTool
  • ReadTabularDataTool