Soft article writer

From aipoch/medical-research-skills · View interactive version

Soft article writer is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Generates high-quality promotional soft articles with structured outlines, tailored introductions, and optimized titles based on product info and hot topics. Use when you need to write promotional content, "soft articles" (), or marketing copy that integrates product highlights with current trends,

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

When to Use

Key Features

Dependencies

Example Usage

cd "20260316/scientific-skills/Others/soft-article-writer"
python -m py_compile scripts/outline_utils.py
python scripts/outline_utils.py --help

Example run plan:

  1. Confirm the user input, output path, and any required config values.
  2. Edit the in-file CONFIG block or documented parameters if the script uses fixed settings.
  3. Run python scripts/outline_utils.py with the validated inputs.
  4. Review the generated output and return the final artifact with any assumptions called out.

Implementation Details

See ## Workflow above for related details.

Validation Shortcut

Run this minimal command first to verify the supported execution path:

python scripts/outline_utils.py --help

Soft Article Writer

This skill orchestrates the creation of a promotional "soft article" (). It takes product details and marketing materials (hotspots, news, insights) as input, generates a structured outline, writes tailored sections (Introduction, Body, Conclusion), and optimizes titles.

Inputs

The user should provide the following information (or the skill should prompt for it):

  1. Product (product): Description of the product to be promoted. (Required)
  2. Highlights (highlights): Key selling points or highlights of the product. (Required)
  3. Material Type (type): The combination of materials provided.
  1. Materials:
  1. Optional:

Workflow

1. Generate Outline

Generate a structured outline based on the inputs. The outline must explicitly contain "Introduction" (), "Body" (), and "Conclusion" () sections marked with bold headers (e.g., ****).

2. Extract Outline Sections

Use the scripts/outline_utils.py script to parse the generated outline text and extract the specific guidance for Introduction, Body, and Conclusion.

python scripts/outline_utils.py --text "<generated_outline_text>"

The script returns a JSON object with introduction, body, and conclusion fields.

3. Generate Introduction

Generate the Introduction section. The content must be tailored based on the type input:

Constraints:

4. Generate Body

Generate the Body section using:

Constraints:

5. Generate Conclusion

Generate the Conclusion section using:

Constraints:

6. Generate and Select Titles

  1. Generate 6-10 candidate titles (under 40 words, avoiding hard ad-speak).
  2. Select the top 3 best titles based on attractiveness and relevance.

7. Final Output

Present the final article in Markdown format:


# [Selected Title]

## Introduction
[Introduction Content]

## Body
[Body Content]

## Conclusion
[Conclusion Content]

Quality Rules

When Not to Use

Required Inputs

Output Contract

Validation and Safety Rules

Failure Handling

Quick Validation

Run this minimal verification path before full execution when possible:

python scripts/outline_utils.py --help

Expected output format:

Result file: soft_article_writer_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

Deterministic Output Rules

Completion Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.