Install
$ agentstack add skill-sandeeprdy1729-claude-design-skill-constitutional-reasoning ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Constitutional Reasoning
Claude gives confident answers that are wrong. Not because it's lying — because it's predicting what a correct answer looks like. It pattern-matches to plausible outputs. The first draft is optimized for coherence, not accuracy.
Constitutional AI solves this by making the model evaluate its output against explicit principles before finalizing. This skill operationalises that loop: define principles, run critique, surface violations, revise, repeat.
SLASH COMMANDS
| Command | Action | | --- | --- | | /constitution | Auto-generate a principle set for a specific domain | | /add-principle | Add a custom principle to the active constitution | | /critique | Run one critique pass on an output and list violations | | /revise | Revise the output to fix all listed violations | | /loop | Run n critique-revise cycles automatically | | /show-constitution | Display the active principle set | | /violations | List all unresolved violations from the last critique pass | | /diff | Show exactly what changed between original and revised output | | /certify | Declare the output clean — list any principles still soft-violated | | /trust-score | Score the output's reliability 0–10 with a calibration justification | | /reset | Clear the constitution and start fresh |
HIGH-LEVEL WORKFLOW
User provides output or question to evaluate
│
├─ Phase 1: Constitution Generation
│ Define principles relevant to the domain and task
│
├─ Phase 2: Initial Output
│ Generate or receive the answer to be evaluated
│
├─ Phase 3: Critique Pass
│ Test the output against every principle; list violations
│
├─ Phase 4: Revision
│ Rewrite to fix violations without introducing new ones
│
├─ Phase 5: Re-critique
│ Re-run the critique pass on the revised output
│
└─ Phase 6: Certification
Declare the output clean or flag residual soft violations
PHASE 1 — CONSTITUTION GENERATION
A constitution is a list of principles the output must satisfy. Principles are falsifiable — each one can be checked against the output with a PASS or FAIL.
Domain-specific principle templates
Factual / research output:
P1: Every specific claim is either (a) sourced from the provided context,
or (b) explicitly flagged as inference with a confidence qualifier.
P2: No number, date, name, or statistic is stated with more certainty than
the evidence supports.
P3: Uncertainty is expressed in calibrated terms ("likely", "unclear",
"insufficient data") — not suppressed.
P4: The output does not contradict any claim made in the source material.
P5: Alternative interpretations of ambiguous evidence are surfaced.
Code output:
P1: Every function does what its name and docstring claim.
P2: No assumption about input type, range, or availability is unstated.
P3: Error paths are handled or explicitly noted as out of scope.
P4: No variable is used before it is assigned.
P5: No library or API is called with parameters that contradict its specification.
Strategic / recommendation output:
P1: Every recommendation is tied to a stated constraint or goal.
P2: Tradeoffs of the recommended approach are explicitly listed.
P3: The output does not recommend an action whose prerequisites are unverified.
P4: No single point of failure is introduced without being named.
P5: The confidence level of the recommendation matches the evidence quality.
Summary / synthesis output:
P1: No information present in the source is misrepresented in the summary.
P2: No information absent from the source is added to the summary.
P3: Proportionality is preserved — major points are not buried; minor points
are not elevated.
P4: Conflicting information in the source is reflected as conflict, not resolved.
P5: The summary does not add causal claims the source does not make.
Custom principle rules
- Must be falsifiable: "This is good" is not a principle. "No claim is unsupported" is.
- Must be checkable against the output alone (not against external knowledge)
- Phrase as constraints, not goals: "No X" or "Every Y" not "Be accurate"
- Maximum 8 principles per constitution — more dilutes attention
PHASE 2 — CRITIQUE PASS
Run every principle against the output. For each principle, verdict: PASS or FAIL. For every FAIL, provide:
- The violated principle
- The exact sentence or section that violates it
- Why it violates the principle
- What would make it pass
Critique pass format
CRITIQUE PASS [N]
P1: [principle text]
Verdict: PASS
P2: [principle text]
Verdict: FAIL
Violating text: "[exact quote from output]"
Violation: [one sentence: why this fails the principle]
Fix: [one sentence: what the output should say instead]
P3: [principle text]
Verdict: PASS
SUMMARY
Violations: [N]
Critical (blocks certification): [list]
Soft (note but can certify): [list]
Critique rules
- Quote the exact violating text. Do not paraphrase.
- Do not soften violations. "This could be interpreted as..." = FAIL, not soft-PASS.
- A claim that cannot be verified from provided context = FAIL for factual principles, unless flagged as inference.
- Sycophantic language triggers P-confidence violation ("clearly", "obviously", "undoubtedly" without evidence).
- If the output omits a required element, that is a violation even if nothing explicitly wrong is stated.
PHASE 3 — REVISION
Rewrite the output to fix all FAIL verdicts. Rules:
- Fix in order of severity (critical violations first)
- Do not introduce new violations while fixing old ones
- Do not remove accurate content to avoid failing a principle — rewrite it instead
- Where a claim cannot be verified, add a calibration qualifier, do not delete the claim
- After revision, explicitly re-check each previously-failed principle
Calibration qualifier vocabulary
| Confidence level | Qualifier to use | | --- | --- | | Very high (near-certain) | "Evidence strongly indicates..." | | High | "This is likely because..." | | Medium | "This suggests, though isn't confirmed..." | | Low | "One interpretation is..., though this is uncertain" | | Very low | "Insufficient data to determine — this is speculative" |
PHASE 4 — CERTIFICATION
After all critique-revise cycles, certify the output.
CERTIFICATION
Constitution applied: [N principles]
Critique cycles run: [N]
Violations resolved: [N]
Status: CERTIFIED CLEAN
— All [N] principles satisfied in final revision.
OR
Status: CERTIFIED WITH NOTES
— [N] soft violations remain:
· [principle]: [note — why it's soft, not critical]
Trust score: [X]/10
[2 sentences: what drives the score up, what limits it]
Trust score rubric
| Score | Meaning | | --- | --- | | 9–10 | Every claim sourced or qualified; no unchecked assumptions; all tradeoffs surfaced | | 7–8 | Minor unqualified claims; tradeoffs mostly surfaced; no critical violations | | 5–6 | Some claims lack support; some tradeoffs missing; 1–2 soft violations | | 3–4 | Significant unsupported claims; important tradeoffs absent; overconfident language | | 1–2 | Multiple critical violations; claims contradict source; hallucination likely |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Sandeeprdy1729
- Source: Sandeeprdy1729/claude-design-skill
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.