Add .pashov-skills-constraints.yaml support#15
Open
danogurtsov wants to merge 1 commit intopashov:mainfrom
Open
Add .pashov-skills-constraints.yaml support#15danogurtsov wants to merge 1 commit intopashov:mainfrom
.pashov-skills-constraints.yaml support#15danogurtsov wants to merge 1 commit intopashov:mainfrom
Conversation
Optional YAML file for declaring codebase properties (tokens, standards, cross-chain, proxy, oracle, account abstraction). Agents use it to skip irrelevant attack vectors during triage. Code overrides constraints.
sanbir
added a commit
to sanbir/solidity-auditor-skills
that referenced
this pull request
Mar 9, 2026
Optional YAML file for declaring codebase properties (tokens, standards, cross-chain, proxy, oracle, account abstraction). Agents use it to skip irrelevant attack vectors during triage. Code overrides constraints. From: pashov/skills#15 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.pashov-skills-constraints.yamlfile that developers drop in their repo root to declare codebase properties (tokens used, standards, cross-chain, proxy pattern, oracle, account abstraction)What changed (5 files, +44/-10)
Tested on
Two Solidity contracts (Vault + StakingRewards, ~110 lines) with intentional bugs (missing access control, CEI violation, reward ordering bug). Full 4-agent orchestration with constraints
tokens: [USDC, WETH], standards: [ERC20], cross_chain: false, proxy_pattern: none, oracle: none. Agents correctly skipped 50-80% of irrelevant vectors per bundle and adjusted confidence based on declared token properties. All 3 planted bugs found. Backward compatible — works without the file.