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
- Identify whether the current location is a SharePoint list or document library.
- 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. - 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.
- Prepare exactly five representative proposed items as a preview. Do not create files or list items yet.
- 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.
- Ask for approval after the preview. State the total that will be created: the user-requested quantity, or 10 by default.
- Only after approval, create the requested number of entries or documents. If the user hasn't specified a number, create 10.
- 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.
Output format
Preview
State that five proposed items are ready for review, then provide a table.
For a list:
| Title | Key field 1 | Key field 2 | Date |
|---|
For a document library:
| Filename | Type | Content summary |
|---|
End with: Approve to create N items. where N is the requested count or 10 by default.
Completion
State the verified number created. List the created items in a table when there are 20 or fewer; otherwise provide the total and a five-item sample.
Constraints
- Never create content before the user approves the five-item preview.
- Use the current list or library's real structure; don't invent unsupported metadata or field values.
- Treat a user-specified count as authoritative; otherwise use 10.
- For document libraries, don't assume a document format: ask if it isn't provided.
- Keep all dummy content realistic and clearly suitable as test data.
- If a tool fails or returns empty, say so plainly and don't invent content.
Examples
- "Add test data to this list" → inspect the schema, preview five records, then create 10 after approval.
- "Create 25 dummy Word and Excel documents in this library" → preview five document proposals, then create 25 after approval.
- "Populate this list with 8 sample items" → preview five records using its actual columns, then create 8 after approval.