generate-test-content

Installation
SKILL.md

Generate Test Content

When to use

Use this skill when a user asks to add realistic dummy, sample, or test content to the current SharePoint list or document library.

Inputs

  • Current SharePoint list or document library.
  • Requested item count. Default to 10 when the user doesn't specify a number.
  • For document libraries, the document type or types required. Ask the user before preparing the preview if they haven't specified it.

Steps

  1. Identify whether the current location is a SharePoint list or document library.
  2. For a list, inspect the real column schema and sample values before drafting content. Create realistic values that match the actual field types, required fields, choices, lookup/person fields, and list purpose. Format every date value as M/d/yyyy.
  3. For a document library, ask which document type or types the user needs when not already specified. Support realistic dummy Word, Excel, PowerPoint, PDF, or other requested document formats. Use descriptive filenames and content appropriate to the library's apparent purpose.
  4. Prepare exactly five representative proposed items as a preview. Do not create files or list items yet.
  5. Show the five-item preview in a table. For list items, show the key fields and values. For documents, show filename, type, and a short content summary.
  6. Ask for approval after the preview. State the total that will be created: the user-requested quantity, or 10 by default.
  7. Only after approval, create the requested number of entries or documents. If the user hasn't specified a number, create 10.
  8. Verify the create operation succeeded and report the number created along with a concise inventory. If creation partially fails, state exactly what was created and what failed; don't claim success for missing items.
Installs
2
GitHub Stars
140
First Seen
14 days ago
Security Audits