Skip to content
Skillv1.0.0

prompt-structure

Laravel guidance to structure prompts for clarity-separate concerns, prioritize requests, specify acceptance criteria, and break work into testable increments

by soden46(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from soden46/syarif-laravel-ai-skills (skills/prompt-structure/SKILL.md). Install upstream with npx skills add soden46/syarif-laravel-ai-skills --skill prompt-structure. Copyright stays with the author.

Prompt Structure

Use this skill when a Laravel task involves prompt structure.

This skill is adapted to the personal Laravel standards in this repository. It maps the public prompt-structure topic from jpcaparas/superpowers-laravel into the local prompt-structure catalog without copying third-party skill body text.

Syarif Defaults

  • Follow Laravel conventions before introducing custom abstractions.
  • Prefer project-local patterns when they are explicit and tested.
  • Keep controllers focused on HTTP orchestration.
  • Put validation, authorization, transactions, side effects, and integrations at clear boundaries.
  • Keep client names, credentials, internal URLs, provider secrets, and project-specific business rules out of reusable standards.
  • Verify important behavior with the smallest meaningful tests and quality checks.

Workflow

  1. Detect the Laravel version, PHP version, runner, package manager, and existing project conventions.
  2. Identify the smallest local skill set that overlaps this topic.
  3. Implement or review the change using Laravel-native APIs first.
  4. Add abstractions only when they reduce real complexity or protect a meaningful boundary.
  5. Run targeted tests and available quality checks before handoff.

Checkpoints

  • Authorization and validation boundaries are explicit.
  • Query shape, transactions, queues, cache, files, and external calls are intentional when touched.
  • User-facing behavior has feature, unit, browser, or integration tests at the right level.
  • Logs and errors are useful without exposing secrets or unnecessary personal data.
  • Documentation or proposals avoid importing source-project names or one-off business rules.

Related Skills

  • using-laravel-standards
  • architecture
  • testing
  • security

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/soden46-syarif-laravel-ai-skills-prompt-structure/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

soden46-syarif-laravel-ai-skills-prompt-structure.ocm.jsonjson
{
  "ocm": "1",
  "id": "soden46-syarif-laravel-ai-skills-prompt-structure",
  "kind": "skill",
  "name": "prompt-structure",
  "description": "Laravel guidance to structure prompts for clarity-separate concerns, prioritize requests, specify acceptance criteria, and break work into testable increments",
  "publisher": "soden46",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "laravel",
      "php",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Laravel guidance to structure prompts for clarity-separate concerns, prioritize requests, specify acceptance criteria, and break work into testable increments"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/soden46/syarif-laravel-ai-skills",
      "path": "skills/prompt-structure/SKILL.md",
      "ref": "0890a4fb1ef052232505c1e7c2decb34ab98536a",
      "url": "https://github.com/soden46/syarif-laravel-ai-skills/blob/0890a4fb1ef052232505c1e7c2decb34ab98536a/skills/prompt-structure/SKILL.md",
      "key": "soden46/syarif-laravel-ai-skills/skills/prompt-structure/SKILL.md"
    }
  },
  "instructions": "# Prompt Structure\n\nUse this skill when a Laravel task involves prompt structure.\n\nThis skill is adapted to the personal Laravel standards in this repository. It maps the public `prompt-structure` topic from `jpcaparas/superpowers-laravel` into the local `prompt-structure` catalog without copying third-party skill body text.\n\n## Syarif Defaults\n\n- Follow Laravel conventions before introducing custom abstractions.\n- Prefer project-local patterns when they are explicit and tested.\n- Keep controllers focused on HTTP orchestration.\n- Put validation, authorization, transactions, side effects, and i",
  "cost": {
    "context_tokens": 446
  }
}

Fetch it by URL: GET /api/v1/registry/soden46-syarif-laravel-ai-skills-prompt-structure/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.