framework:make:contracts

framework:make:contracts is a skill for Claude Code from atournayre/claude-marketplace. It costs 18 tokens per session (530 once invoked), scanned A, original, MIT.

A skill that generates interface files for a PHP software architecture using Elegant Objects and Domain-Driven Design, approaches for organising code around business concepts. The generated interfaces include contracts for outputs, errors, URLs, data, tests, and database migrations.

In plain words
What is it for?
Use it at the start of a project to generate the framework’s contract files in the src/Contracts directory.
Why use it?
It creates the foundational interfaces that other parts of the framework can depend on, reducing the need to define them manually.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the framework plugin — 4 skills shipped together

Good fit Use it at the start of a project to generate the framework’s contract files in the src/Contracts directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atournayre/claude-marketplace/make-contracts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add atournayre/claude-marketplace --skill make-contracts
Clone the repo
git clone --depth 1 https://github.com/atournayre/claude-marketplace

Made for: Claude Code.

Or install framework, the plugin that ships this one along with the rest of its 4 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for framework:make:contracts

README.md
[![agentmods](https://agentmods.dev/badge/skills/atournayre/claude-marketplace/make-contracts/github.svg)](https://agentmods.dev/skills/atournayre/claude-marketplace/make-contracts)
Your own site
<a href="https://agentmods.dev/skills/atournayre/claude-marketplace/make-contracts"><img src="https://agentmods.dev/badge/skills/atournayre/claude-marketplace/make-contracts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for framework:make:contracts

Your own site · 80×15
<a href="https://agentmods.dev/skills/atournayre/claude-marketplace/make-contracts"><img src="https://agentmods.dev/badge/skills/atournayre/claude-marketplace/make-contracts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00530
Opus 5 $0.00009 $0.00265
Sonnet 5 $0.00004 $0.00106
Haiku 4.5 $0.00002 $0.00053

Measured 11d ago against content hash 0abec9513d4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

framework:make:contracts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

framework/skills/make-contracts/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Framework Make Contracts Skill

Instructions à Exécuter

IMPORTANT : Exécute ce workflow étape par étape :

Description

Génère l'ensemble des interfaces de contrats nécessaires pour une architecture respectant les principes Elegant Objects et DDD.

Ces interfaces servent de fondation pour toutes les autres skills du framework.

Usage

Use skill framework:make:contracts

Templates

  • OutInterface.php - Interface pour objets de sortie (DTO)
  • InvalideInterface.php - Interface pour exceptions métier
  • HasUrlsInterface.php - Interface pour objets ayant des URLs
  • OutDataInterface.php - Interface pour data classes de sortie
  • InvalideDataInterface.php - Interface pour data classes d'invalidation
  • UrlsDataInterface.php - Interface pour data classes d'URLs
  • Story/StoryInterface.php - Interface pour stories de tests
  • Doctrine/DoctrineMigrationInterface.php - Interface pour migrations Doctrine

Variables requises

Aucune - Ces interfaces sont génériques et ne nécessitent pas de paramètres.

Dépendances

Aucune - C'est la première skill à exécuter (Niveau 0 - Fondation).

Outputs

  • src/Contracts/OutInterface.php
  • src/Contracts/InvalideInterface.php
  • src/Contracts/HasUrlsInterface.php
  • src/Contracts/OutDataInterface.php
  • src/Contracts/InvalideDataInterface.php
  • src/Contracts/UrlsDataInterface.php
  • src/Contracts/Story/StoryInterface.php
  • src/Contracts/Doctrine/DoctrineMigrationInterface.php

Workflow

  1. Vérifier si le répertoire src/Contracts/ existe
  2. Créer la structure de répertoires si nécessaire :
    • src/Contracts/
    • src/Contracts/Story/
    • src/Contracts/Doctrine/
  3. Copier tous les templates d'interfaces depuis framework/skills/make-contracts/templates/Contracts/ vers src/Contracts/
  4. Afficher la liste des fichiers créés

Notes

  • Ces interfaces n'ont pas besoin d'être modifiées pour chaque projet
  • Elles doivent être créées une seule fois par projet
  • Toutes les autres skills du framework dépendent de ces interfaces

Read the full file on GitHub · 65 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 65 lines · 18 tokens per session scan A 0abec9513d4c

Subscribe to this mod's changes

framework:make:contracts is a skill published in the GitHub repository atournayre/claude-marketplace (9 stars, last pushed 6mo ago), licensed MIT. It adds 18 tokens to every session and 530 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

create-powergrid-plugin

Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.

Power-Components/livewire-powergrid · 31 tokens

owl-admin-devtools-generator

A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.

slowlyo/owl-admin · 82 tokens

llamaindex-development

Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.

Mindrally/skills · 32 tokens

craftcms

Craft CMS 5 plugin and module development — extending Craft with PHP. Covers elements, element queries, services, models, records, controllers, migrations, queue jobs, console commands, field types, native fields, events, behaviors, Twig extensions, widgets, filesystems, permissions, project config, GraphQL, testing…

michtio/craftcms-claude-skills · 327 tokens

laravel-expert

Laravel & PHP Development Instructions for GitHub Copilot.

GulajavaMinistudio/awesome-copilot-id · 15 tokens