Skip to content

Official registry of PromptScript configurations - reusable AI prompts for GitHub Copilot, Claude Code, Cursor and more

License

Notifications You must be signed in to change notification settings

mrwogu/promptscript-registry

Repository files navigation

PromptScript Registry

Official collection of AI instruction configurations for PromptScript.

Registry Contents

Namespace Count Description
@prompts/ 632 General-purpose AI personas
@fragments/ 441 Reusable mixins and patterns
@skills/ 28 Development workflow skills
@roles/ 18 Developer, creative, professional personas
@stacks/ 7 Framework configurations
@agents/ 5 Specialized AI agents
@core/ 3 Universal foundations
Total 1134

Quick Start

1. Install CLI

npm install -g @promptscript/cli

2. Initialize Project

cd your-project
prs init

3. Configure

Edit .promptscript/project.prs:

@meta {
  id: "my-project"
  syntax: "1.0.0"
}

@inherit @stacks/react
@use @fragments/testing
@use @fragments/typescript

4. Compile

prs compile

Generates:

  • .github/copilot-instructions.md (GitHub Copilot)
  • CLAUDE.md (Claude Code)
  • .cursor/rules/project.mdc (Cursor)

Namespaces

@stacks/ - Framework Configurations

Stack Description
@stacks/react React 18+ with TypeScript
@stacks/vue Vue 3 with Composition API
@stacks/node Node.js backend
@stacks/python Python with type hints
@stacks/rust Rust with clippy
@stacks/go Go with standard layout
@stacks/typescript-lib TypeScript library

@roles/ - AI Personas

Category Roles
Developer fullstack frontend backend devops dba senior qa
Creative writer storyteller copywriter
Professional consultant coach analyst tech-writer
Specialist teacher translator reviewer terminal

@fragments/ - Reusable Mixins

Category Count Examples
testing/ 157 TDD, test generation, QA patterns
agents/ 139 Agent behaviors, beast modes
security/ 72 OWASP, vulnerability scanning
documentation/ 18 Doc generation patterns
refactoring/ 16 Code improvement patterns
tasks/ 12 Task automation
review/ 8 Code review patterns
standards/ 7 Coding standards

@prompts/ - General Purpose

Category Count Examples
coding/ 250 Programming, debugging
general/ 241 Versatile assistants
business/ 58 Marketing, consulting
education/ 49 Teaching, tutoring
writing/ 34 Creative writing

@skills/ - Development Workflows

Defined in @skills/base.prs:

Skill Trigger
committing Git commits
debugging Bug investigation
testing-code Writing tests
code-reviewing PR reviews
security-auditing Security checks
documenting Documentation
refactoring Code cleanup
pull-requesting Creating PRs
performance-optimizing Speed optimization

Inheritance

@inherit - Base Configuration

One per file. Defines primary source.

@inherit @stacks/react

@use - Mixins

Multiple allowed. Later overrides earlier.

@inherit @stacks/react
@use @fragments/testing
@use @fragments/security/owasp

Precedence

@inherit → @use #1 → @use #2 → Local definitions (wins)

Configuration

promptscript.yaml

version: '1'

project:
  id: my-project

registry:
  git:
    url: https://github.com/mrwogu/promptscript-registry.git
    ref: main

targets:
  - github
  - claude
  - cursor

Version Pinning

registry:
  git:
    ref: v1.0.0

Or inline:

@inherit @stacks/react@v1.0.0

Contributing

  1. Fork repository
  2. Add .prs file in appropriate namespace
  3. Ensure @meta.id matches file path
  4. Validate: prs validate
  5. Update catalog: npm run rebuild
  6. Submit pull request

See CONTRIBUTING.md for details.

Attributions

Source License Content
awesome-chatgpt-prompts CC0-1.0 632 prompts
awesome-copilot CC0-1.0 434 fragments
awesome-claude-skills MIT 28 skills

See ATTRIBUTIONS.md for details.

Links

License

MIT

About

Official registry of PromptScript configurations - reusable AI prompts for GitHub Copilot, Claude Code, Cursor and more

Topics

Resources

License

Contributing

Stars

Watchers

Forks