Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sap-article-generator

БесплатноЗапускает вложенные скриптыНе проверен

Generate comprehensive, fact-checked SAP technical articles and configuration guides with embedded images, flowcharts, and references. Use when users request…

Interstellar-codeот Interstellar-code★ 18 звёзд на GitHub21 установка в других каталогах

Об этом скилле

SAP Article Generator

Generate optimized, fact-checked SAP technical articles as professional Word documents with embedded images, flowcharts, and references.

Overview

This skill is self-contained and includes:

  • Web research and fact-checking capabilities
  • Built-in image downloading from the web
  • Professional Word document creation with docx
  • Proper SAP formatting and terminology
  • Embedded screenshots and diagrams
  • Reference citations

Article Generation Workflow

Follow these steps in sequence for every article:

0. PREREQUISITE: Read docx Skill (MANDATORY)

# REQUIRED before creating any Word document
cat /mnt/skills/public/docx/SKILL.md

1. Topic Analysis and Planning (2-3 minutes)

  • Identify the SAP module, process, or topic
  • Determine scope: configuration guide, conceptual overview, or troubleshooting
  • Define target audience: beginner, intermediate, or advanced users
  • Plan article structure based on topic type

2. Research and Fact-Checking (5-10 minutes)

CRITICAL: Always search before writing to ensure current, accurate information

Use web_search tool to verify:

  • Latest SAP transaction codes and menu paths
  • Current best practices and SAP Notes
  • Version-specific differences (ECC vs S/4HANA)
  • Official SAP documentation

Minimum 2-3 searches for any article.

Search query examples:

  • "SAP [transaction code] [module] configuration"
  • "SAP [process name] step by step guide"
  • "SAP S/4HANA [topic] best practices"

3. Content Structure Planning

Configuration Guides:

  1. Introduction and business context
  2. Prerequisites and system requirements
  3. Configuration overview
  4. Step-by-step configuration with transaction codes
  5. IMG menu paths and settings
  6. Testing and validation
  7. Troubleshooting
  8. Best practices
  9. References

Conceptual Articles:

  1. Introduction and business context
  2. Key concepts and terminology
  3. Process flow and architecture
  4. Technical implementation
  5. Integration points
  6. Use cases and examples
  7. Best practices
  8. References

Troubleshooting Guides:

  1. Problem overview and symptoms
  2. Root cause analysis
  3. Diagnostic steps
  4. Solution steps
  5. Prevention strategies
  6. Related SAP Notes
  7. References

4. Visual Content Integration (CRITICAL - MUST DO THIS!)

Images significantly improve article quality. Every article MUST have 2-3+ embedded images.

Step 4.1: Search for Images

Use web_search to find relevant SAP images:

web_search("SAP [transaction] screenshot")
web_search("SAP [process] flow diagram")
web_search("SAP [module] configuration screen")

Image types to include:

  • Transaction screen screenshots
  • Process flow diagrams
  • System architecture diagrams
  • Configuration examples
  • Data flow illustrations

Step 4.2: Extract Image URLs

From the web_search results, identify direct image URLs. Look for:

  • .png, .jpg, .jpeg, .gif, .svg, .webp URLs
  • Image URLs in search results snippets
  • URLs from SAP blogs, tutorials, help portal

Step 4.3: Download Images Using Built-in Script

Install dependencies first (if not already installed):

pip install requests Pillow --break-system-packages

Create temp directory:

mkdir -p /home/claude/temp_images

Download images:

Option A - Single Image:

python scripts/fetch_image.py \
  "https://example.com/sap-screenshot.png" \
  /home/claude/temp_images

Option B - Multiple Images (Recommended):

# Create URL list
cat > /home/claude/image_urls.txt << 'EOF'
https://example.com/sap-vov8.png
https://example.com/sales-flow.jpg
https://example.com/config-screen.png
EOF

# Download all at once
python scripts/fetch_images_batch.py \
  /home/claude/image_urls.txt \
  /home/claude/temp_images

Step 4.4: Verify Downloads

ls -lh /home/claude/temp_images/

You should see the downloaded images with file sizes.

5. Document Creation with Embedded Images

Follow the docx skill guidelines to create a professional Word document.

Key requirements for images in the document:

  1. Embed images using the docx library according to the docx skill instructions
  2. Use the downloaded image paths from /home/claude/temp_images/
  3. Add figure captions below each image:
    • Format: "Figure X: [Description]"
    • Example: "Figure 1: SAP Transaction VOV8 - Sales Document Type Configuration"
  4. Center-align images
  5. Resize to appropriate width (typically 600px for full-width images)

Example embedding pattern (following docx skill):

# After creating document according to docx skill
# Add image paragraph with the downloaded image
# See docx SKILL.md for exact syntax

6. Document Formatting Standards

Title Page:

  • Article title (Heading 1, SAP blue #0070AD)
  • Subtitle
  • Date and version

Content Formatting:

  • Headings: Hierarchical (H1: 16pt SAP blue, H2: 14pt, H3: 12pt)
  • Paragraphs: 11pt Calibri, 1.15 line
Полный SKILL.md на GitHub

Установить sap-article-generator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

INTEGRATION_GUIDE.mdREADME.mdreferences/article-standards.mdreferences/sap-terminology.mdrequirements.txtscripts/fetch_image.pyscripts/fetch_images_batch.py

FAQ

Что делает скилл sap-article-generator?

Generate comprehensive, fact-checked SAP technical articles and configuration guides with embedded images, flowcharts, and references. Use when users request SAP documentation, how-to guides, configuration tutorials, process explanations, or technical articles on SAP topics (ECC, S/4HANA, modules like SD, MM, FI, PP, ABAP, OData APIs, archiving, etc.). Creates professional Word documents with proper formatting and web-sourced visual aids with built-in image downloading.

Как установить скилл sap-article-generator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sap-article-generator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить sap-article-generator с