Agent skill
pcl-assertion-workflow
Guides the end-to-end PCL workflow (project setup, testing, store/submit, and deploy). Use when setting up or deploying assertions with the Credible Layer CLI and dApp.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/pcl-assertion-workflow-phylaxsystems-agent-skills
SKILL.md
PCL Assertion Workflow
Use this when you need the full lifecycle: create, test, store, submit, and deploy assertions.
When to Use
- Setting up a new assertions project with
pcl. - Running local tests and validating assertions before deployment.
- Storing, submitting, and deploying assertions in the Credible Layer dApp.
When NOT to Use
- You only need invariant design. Use
designing-assertions. - You only need Solidity implementation details. Use
implementing-assertions. - You only need test patterns and fuzzing. Use
testing-assertions.
Quick Start
- Initialize or clone a project (e.g.,
credible-layer-starter). - Run
FOUNDRY_PROFILE=assertions pcl testto validate locally. - Deploy target contracts with
forge script. - Authenticate:
pcl auth login. - Store assertions:
pcl store <AssertionName>. - Submit:
pcl submit(orpcl submit -a <AssertionName> -p <ProjectName>). - Deploy via dApp and wait for timelock.
Rationalizations to Reject
- "Tests can wait until after deployment." Always run
pcl testfirst. - "We can skip store/submit steps." Deployment depends on DA storage.
- "Any wallet works." Use the same address as contract deployer for authentication.
References
- Project Structure and CLI Flow
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?