realrashid/plan-craft/plan-craft-development

Claude Code and agent skill by realrashid/plan-craft

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Manage subscriptions and user eligibility using configuration-driven plans, the HasPlan trait, and dynamic feature checking.

Install

npx vskill@latest install realrashid/plan-craft/plan-craft-development

SKILL.md

Plan Craft Development

When to use this skill

Use this skill when implementing or modifying subscription-based features, defining user plans, and checking feature access or eligibility in Laravel applications using the realrashid/plan-craft package.

Features

  • Publish configuration and migrations (vendor:publish tags: plan-craft-config, plan-craft-migrations).
  • Add subscription capabilities to models using the RealRashid\PlanCraft\Traits\HasPlan trait.
  • Define subscription plans, features, and limits in config/plan-craft.php.
  • Programmatically subscribe, switch, or check eligibility for plans and features.

Examples

Publishing configuration and migrations
bash
php artisan vendor:publish --provider="RealRashid\PlanCraft\PlanCraftServiceProvider" --tag="plan-craft-config"
php artisan vendor:publish --provider="RealRashid\PlanCraft\PlanCraftServiceProvider" --tag="plan-craft-migrations"
Adding subscription to a User model
php
use RealRashid\PlanCraft\Traits\HasPlan;
class User extends Authenticatable
{
use HasPlan;
}
Checking user eligibility in a controller
php
public function store(Request $request)
{
if (! auth()->user()->isEligible('create-posts')) {
return redirect()->back()->with('error', 'Upgrade your plan to create more posts.');
}
// Logic to create posts...
}
Subscribing to a plan
php
$user->subscribeTo('premium'); // 'premium' is defined in config/plan-craft.php

Implementation tips for AI agents

  • Store plan definitions in config/plan-craft.php for centralized, version-controlled plan management.
  • Use hasFeature('feature-name') for simple boolean access and isEligible('action-name') for numeric limits.
  • Ensure the plan_id and plan_details columns are present in your billable model after runningmigrations.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
93
Repository forks
13
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 27 Apr 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/realrashid/plan-craft/plan-craft-development/badge)](https://verified-skill.com/skills/realrashid/plan-craft/plan-craft-development)

Something wrong with this skill or its page? Tell us.