AgentStack
SKILL verified MIT Self-run

Create Architecture Test

skill-alizharb-agent-skills-create-architecture-test · by AlizHarb

Use when creating or updating Pest architecture tests for Laravel layer boundaries.

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add skill-alizharb-agent-skills-create-architecture-test

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Create Architecture Test? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Create Architecture Test

When To Use

Use this skill when you need to enforce layer boundaries, dependency direction, or code placement rules.

Inputs Needed

  • Rule to enforce, affected namespaces, allowed exceptions, and regression target.

Workflow

  1. Inspect existing architecture tests and the relevant code layers.
  2. Identify the smallest meaningful boundary to protect.
  3. Write the test for app-owned code first.
  4. Add ignore rules only for framework-generated or vendor-owned code when needed.
  5. Keep assertions stable and easy to read.
  6. Add a companion behavior test if the architecture rule protects something user-visible.

Files That May Be Created

  • Pest architecture tests.

Files That May Be Modified

  • Existing architecture tests and related tests.

Architecture Rules

  • Test the boundary, not incidental implementation details.
  • Keep the test strict for the project’s own code.
  • Avoid false positives from vendor traits or framework internals unless the project owns that behavior.

Testing Requirements

  • Run the smallest relevant test set after adding or updating the rule.

Review Checklist

  • Does the test catch the actual architectural drift?
  • Is the failure message actionable?
  • Are vendor or framework exceptions narrowly scoped?

Common Mistakes to Avoid

  • Asserting exact file layout when the rule is about behavior.
  • Forgetting to exempt framework-owned internals.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.