Index of every page on this site: llms.txt
All skills
Run it yourself

Use this skill EXCLUSIVELY when the user explicitly requests a full package audit and release certification (e.g., "проведи полный аудит пакета", "полный аудит перед релизом", "audit package", "certify package").

  • 38 files
  • 160.5 KB
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/alex-kassel/laravel-package-audit/laravel-package-audit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈71 tokens for metadata: the name and description. ≈1.2k when used: this file. ≈14k more on demand in 14 files.

Description uses 2.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈228 characters, or 2.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Package Audit & Release Certification Skill

[!IMPORTANT] AUDIT ACTIVATION CONTRACT & TOKEN CONSERVATION RULE: This skill is an expensive, high-rigor governance procedure reserved strictly for formal release certification.

  • DO NOT INVOKE OR EXECUTE THIS SKILL during routine feature development, bugfixing, refactoring, or patch updates (1.2.0 -> 1.2.1).
  • For everyday quality checks, use php artisan package:check <pkg> --quick or composer test instead.
  • Execute this procedure ONLY when the human user explicitly instructs: "проведи полный аудит", "подготовь релизную сертификацию", "certify package for release".

Directory Structure & Resources


Operational Workflow

Phase 0: Tooling Verification & Self-Bootstrapping

When explicitly invoked by the human user, check if php artisan package:audit is available:

php artisan list package:audit
  • If available: Proceed directly to Phase 1.
  • If missing (Self-Bootstrapping): Install the audit engine into require-dev:
    composer require --dev alex-kassel/laravel-package-audit
  • Direct CLI Fallback: If the environment prevents installing composer packages, directly execute the underlying tools (vendor/bin/pint --test, vendor/bin/phpstan, vendor/bin/phpunit, composer validate --strict).

Phase 1: Cognitive Audit & Mandatory Human Gate (Read-Only)

  1. Mechanical Baseline Diagnosis: Run the package audit in inspect mode (no certification issued):
    php artisan package:audit <path/to/package> --json --no-commit
  2. Cognitive Domain Evaluation: Inspect the package code against the 7 specialized contracts in references/contracts/.
  3. Compile Local Review Artifacts: Store diagnostic details in .audit/<timestamp>/:
    • 01_baseline_inspection.md
    • 02_remediation_plan.md
  4. Compile Structured 3-Section Report for the Human:
    • Section 1: Baseline Findings & Risk Assessment
    • Section 2: Planned Automated Fixes
    • Section 3: Architectural Decisions Requiring Explicit Choice
  5. 🛑 MANDATORY STOP (Human Gate): DO NOT PROCEED. DO NOT MODIFY CODE. DO NOT GENERATE CERTIFICATE. Present the report to the user and wait for explicit confirmation.

Phase 2: Remediation, Commit & Cryptographic Certification

Once the human user confirms and approves the plan:

  1. Apply Atomic Remediation: Execute the approved fixes in logical order (Code Quality -> Architecture -> Tests -> Docs).
  2. Create Release Commit: Stage changes and create a clean git commit representing the audited release milestone:
    git add .
    git commit -m "release: prepare audited release v{version}"
  3. Mechanical Verification & Cryptographic Certification: Execute final certification against the committed state:
    php artisan package:audit <path/to/package> --target-version={version}
    This issues the tamper-proof AUDIT.json anchored to the immutable Git tree_hash and commit.
  4. Archive Run Artifacts: Save FINAL-REPORT.md into .audit/<timestamp>/ for local audit trail.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 9a7eac4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 2 months ago
origin
alex-kassel/laravel-package-audit
version
1.2.1
status
published

README badge

README badge for alex-kassel/laravel-package-audit