Sample scaffolder

From pnp/script-samples · View interactive version

Sample scaffolder is an AI agent skill from the GitHub repository pnp/script-samples. This skill is designed to take a script sample that has been submitted as a PR and scaffold it into the sample format expected by the repository.

How to use this skill

Skill file

Sample Scaffolder Skill

This will wrap the scaffolding process for a script sample that has been submitted as a PR. It will take the sample and scaffold it into the format expected by the repository.

Expectations of the sample

Step by Step Workflow

There is a sample template folder called scripts/_template-script-submission that has the expected format for the sample.

It contains

When running this skill, it should be pointed at the folder in which the sample files are located, e.g. scripts/my-sample/.

This skill should

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.