An open API service indexing awesome lists of open source software.

https://github.com/mrwogu/promptscript-registry

Official registry of PromptScript configurations - reusable AI prompts for GitHub Copilot, Claude Code, Cursor and more
https://github.com/mrwogu/promptscript-registry

ai-prompts claude copilot cursor llm prompt-engineering promptscript

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# PromptScript Registry

Official collection of AI instruction configurations for [PromptScript](https://github.com/mrwogu/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

```bash
npm install -g @promptscript/cli
```

### 2. Initialize Project

```bash
cd your-project
prs init
```

### 3. Configure

Edit `.promptscript/project.prs`:

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

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

### 4. Compile

```bash
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.

```promptscript
@inherit @stacks/react
```

### `@use` - Mixins

Multiple allowed. Later overrides earlier.

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

### Precedence

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

## Configuration

### `promptscript.yaml`

```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

```yaml
registry:
git:
ref: v1.0.0
```

Or inline:

```promptscript
@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](./CONTRIBUTING.md) for details.

## Attributions

| Source | License | Content |
|--------|---------|---------|
| [awesome-chatgpt-prompts](https://github.com/f/awesome-chatgpt-prompts) | CC0-1.0 | 632 prompts |
| [awesome-copilot](https://github.com/github/awesome-copilot) | CC0-1.0 | 434 fragments |
| [awesome-claude-skills](https://github.com/ComposioHQ/awesome-claude-skills) | MIT | 28 skills |

See [ATTRIBUTIONS.md](./ATTRIBUTIONS.md) for details.

## Links

- **Documentation:** [getpromptscript.dev](https://getpromptscript.dev)
- **Main Repository:** [github.com/mrwogu/promptscript](https://github.com/mrwogu/promptscript)

## License

MIT