Skip to content
Back to skills

Generate

ASecurity

Use when the user wants to run one or more generators from `@landonschropp/generate` (initialize, prettier, only-allow, eslint, typescript, vitest, bun-test, husky).

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
ai-agentstypescriptgoreactnodegit

Works with

  • cli

Security analysis

A100/100

Scanned November 21, 2026

npx -y skills add LandonSchropp/agent-toolkit --skill generate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Generate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/landonschropp-generate/badge)](https://www.skillsdirectory.com/skills/landonschropp-generate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: generate
description: Use when the user wants to run one or more generators from `@landonschropp/generate` (initialize, prettier, only-allow, eslint, typescript, vitest, bun-test, husky).
disable-model-invocation: true
---

## Process

1. **Fetch the readme** from `https://github.com/LandonSchropp/generate` to confirm the current generator list and canonical order. The list changes, so don't work from memory.

2. **Present the generators** to the user and ask which ones to run. Preserve the readme's documented order.

3. **Run `--help` on every selected generator before asking the user anything**:

   ```
   pnpx @landonschropp/generate <generator> --help
   ```

   Collect every flag across every selected generator. Identify conceptual overlaps — the same question may appear under different flag names (e.g. jest's `--react`, husky's `--react`, and eslint's `--plugins` checkbox all ask about React). Ask the user each conceptual question once.

   `--help` lists flag names and messages but not enumerated choices for list or checkbox prompts. When the allowed values for a flag are unclear, read the generator's source on GitHub (e.g. `https://raw.githubusercontent.com/LandonSchropp/generate/main/src/<generator>/index.js`) — the `choices` array lists every valid value.

4. **Ask the user for the consolidated inputs.** Do not start running generators until you have answers for every required flag across every selected generator.

5. **Invoke each selected generator in the readme's canonical order**, passing every answer as `--flag=value`. Example:

   ```
   pnpx @landonschropp/generate typescript --type=node --outDir=
   pnpx @landonschropp/generate vitest --react=false
   ```

## Rationalizations

| Thought                                         | Reality                                                                                  |
| ----------------------------------------------- | ---------------------------------------------------------------------------------------- |
| "Positional args are shorter"                   | Positional order is undocumented and fragile. Always use `--flag=value`.                 |
| "I'll ask as I go, one generator at a time"     | That defeats dedup. Gather flags from all selected generators' `--help` first, then ask. |
| "The CLI will prompt for anything I miss"       | No. Run non-interactively. If a flag is missing, ask the user first, then invoke.        |
| "I already know the generator list from memory" | Fetch the readme. Generators and their flags change — the readme is the source of truth. |
| "Running `--help` on 5 generators is wasteful"  | It takes seconds and prevents repeated questions. Always do it up front.                 |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.