agentleFS
NVIDIAKnown publisherNVIDIA/elements/.agents/skills/authoring-projects/SKILL.md

authoring-projects

Skill115 starsChanged 55 days agoApache-2.0View on GitHub

Author a new standalone NVIDIA Elements workspace project containing a Lit component, including package files, the five test types, Wireit tasks, workspace and CI registration, metadata generation, documentation-site integration, dependency-lint configuration, and generated lock/notice files. Use when creating or scaffolding a new `projects/<name>` package based on the standalone component-library pattern. Do not use for adding a component to an existing project; use the authoring-components skill instead.

  • Installs packages

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a private-by-default project from a current in-repository reference, then wire every consumer before customizing the component.

    line 8
  2. Distinctive:

    Read the repository AGENTS.md.

    line 12
  3. Very specific:

    Use the authoring-components skill for the component class, API, examples, and five test files.

    line 14
  4. Very specific:

    Use the guidance-build-system skill for Wireit changes and the authoring-testing skill when modifying tests.

    line 15
  5. Very specific:

    Read projects/internals/RELEASE.md only when the user wants the package published.

    line 16
  6. Very specific:

    Run the project checks listed in its DEVELOPMENT.md, then verify the repository integrations:

    line 41
  7. Distinctive:

    Use targeted project checks for isolated changes.

    line 52
  8. Distinctive:

    Never overwrite an existing project or reuse another component's visual baselines.

    line 62
  9. Very specific:

    Keep site-only workspace packages in projects/site dev dependencies and its workspace-scoped dependency-lint ignore because Eleventy …

    line 64
  10. Distinctive:

    Do not create tags, publish packages, edit release wiring, or make a private project public without explicit user authorization.

    line 66
  11. Very specific:

    Treat commit c88b885b as historical evidence, not a byte-for-byte template.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Authoring Projects

Create a private-by-default project from a current in-repository reference, then wire every consumer before customizing the component.

Required context

  1. Read the repository AGENTS.md.
  2. Read references/integration-checklist.md.
  3. Use the authoring-components skill for the component class, API, examples, and five test files.
  4. Use the guidance-build-system skill for Wireit changes and the authoring-testing skill when modifying tests.
  5. Read projects/internals/RELEASE.md only when the user wants the package published.

Workflow

  1. Confirm the kebab-case project/component name, purpose, package description, and whether the project is private or publish-ready. Default the component name to the project name and keep a new scaffold private.
  2. Inspect git status, confirm projects/<name> does not exist, and preserve unrelated work.
  3. Preview the deterministic scaffold from the repository root:

    node .agents/skills/authoring-projects/scripts/scaffold-project.mjs \
      --name <component-name> \
      --description "<package and component description>" \
      --dry-run
  4. Review the planned paths, then rerun without --dry-run. Pass --reference <project-name> when another standalone project is a better structural match.
  5. Customize the placeholder component through the authoring-components workflow. Keep index.ts side-effect free, isolate registration in define.ts, use @since 0.0.0, and make the @documentation URL match the generated site route.
  6. Refresh generated workspace state:

    mise exec -- pnpm install
    mise exec -- pnpm run format:fix
    mise exec -- pnpm run notice
  7. Run the project checks listed in its DEVELOPMENT.md, then verify the repository integrations:

    mise exec -- pnpm -C projects/<component-name> run ci
    mise exec -- pnpm -C projects/<component-name> run test:lighthouse
    mise exec -- pnpm -C projects/internals/metadata run generate:api
    mise exec -- pnpm -C projects/internals/metadata run build
    mise exec -- pnpm -C projects/site run build
    mise exec -- pnpm run lint:knip
  8. Use targeted project checks for isolated changes. Because scaffolding affects cross-project interfaces, generated artifacts, and more than one package, run broader CI from the repository root after the targeted checks:

    mise exec -- pnpm run ci

    Inspect the final diff for generated artifacts, missing build edges, copied visual baselines, and unrelated lockfile churn.

Guardrails

  • Never overwrite an existing project or reuse another component's visual baselines.
  • Declare every generated metadata/site input with its matching Wireit build dependency.
  • Keep site-only workspace packages in projects/site dev dependencies and its workspace-scoped dependency-lint ignore because Eleventy creates their imports dynamically.
  • Include CSS linting and use the repository-root stylelint path (../../stylelint.config.mjs) from a top-level project.
  • Do not create tags, publish packages, edit release wiring, or make a private project public without explicit user authorization.
  • Treat commit c88b885b as historical evidence, not a byte-for-byte template; the checklist records the defects that the scaffold must avoid.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.