agentic-sdlc-assessment
Skill1 starsChanged 41 days agoMITView on GitHub
Contextualize an existing software project and deliver an initial technical, functional, architecture, or product assessment through a proposal-bound MPSF workflow. Use for natural requests in any language such as "contextualize this project", "contestualizza questo progetto e prepara un assessment", "assess the architecture and project health", or requests for a verified assessment artifact in Markdown, Word, Excel, PDF, PowerPoint, HTML, JSON, or CSV.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agentic-sdlcSkill
- cavemanSkill
- change-observatorySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 8 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Ask an additional decision only for a material exception: an install, external access, secret, production access, destructive action, …
- Very specific: line 23
Treat <target-project>/.sdlc/ as canonical.
- Distinctive: line 27
Every user-facing question, including a clarification or exception, must say in the user's language:
- Distinctive: line 46
Do not produce assessment findings before both checkpoints are approved.
- Distinctive: line 65
Authorizes: only making the displayed baseline content canonical.
- Very specific: line 82
Run assessment proposal prepare.
- Distinctive: line 95
No approval may authorize a record constructed after the question.
- Very specific: line 143
Every automated approval or task-start use must validate authorization at the use timestamp and persist an authorization_usage_receipt.
- Very specific: line 144
Start only the displayed story, unchanged contract, route intent, and proposal.
- Very specific: line 148
Use assessment proposal complete only after required delivery, verification, linkage, usage receipts, and deterministic gates pass.
- Very specific: line 179
Use artifact or artifact-plus-chat-summary.
- Distinctive: line 212
Call an artifact “verified” only when every dimension required by the approved proposal passes.
- Distinctive: line 216
After approval, finish without a routine third checkpoint:
- Distinctive: line 221
run applicable deterministic and strict gates.
- Very specific: line 222
create the release manifest and release-gate receipt when the result is released.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MPSF Assessment
Operating Contract
Load ../agentic-sdlc/SKILL.md for shared CLI, KB, contract, trace, and gate rules. Use this skill as the assessment product choreography. <plugin-root> is exactly two directories above this SKILL.md, the same directory the shared skill resolves.
The normal journey has exactly two logical user checkpoints:
- inferred project context;
- one immutable combined assessment proposal.
Do not expose baseline, requirement, story, capability, template, contract, route, authorization, task start, budget accounting, or receipt records as separate normal questions. If a fresh approved baseline exists, checkpoint 1 may be a concise reaffirmation, but it must still let the user correct the context when contextualization was requested.
Ask an additional decision only for a material exception: an install, external access, secret, production access, destructive action, out-of-scope write, material proposal change, or budget extension. An exception is not a normal checkpoint.
Use <target-project>/.sdlc/config.json assessment_workflow.requested_actions to decide which normalized route actions enter this journey. Do not hardcode a second alias list. For every open question, classify it with open_question_guidance.categories; show the original question, configured reason, an example in the active language (it first for Italian, en as fallback), and effect_of_answer. Use the configured fallback when no category matches.
Treat <target-project>/.sdlc/ as canonical. Treat cache and indexes as derived. Repository application files are read-only until checkpoint 2 approves a displayed write; pre-approval writes are limited to proposed .sdlc/ workflow records.
Question Contract
Every user-facing question, including a clarification or exception, must say in the user's language:
- What is being asked;
- Why it is needed now;
- What the answer authorizes;
- What it does not authorize;
- Examples of valid answers in Italian and English.
Do not ask a bare yes/no question. Record direct human or CI decisions with the approving command (--actor-type human|ci --approval-source explicit-user|ci --summary). When authority_policy.mode is host_verified, also pass the host-issued, signed host-approval-receipt:v2 with --host-receipt-file; it must never be created or signed locally, and a human approval must not be self-declared.
Enter The Journey
- Resolve the target root from the request, otherwise use the workspace root. If it cannot be identified, ask one clarification using the Question Contract.
- Capture format, destination, evidence boundary, exclusions, autonomy, and budget already stated. Do not ask for known values again.
- Initialize or onboard the existing project. Prefer
onboard existing-projectwhen repository evidence exists so inferred context remains proposed. - Reserve stable IDs for the requirement, story, proposal, workflow, budget, template, contract, authorization, and receipts. Reservation is not creation or approval of those subjects.
- Inspect repository files, canonical
.sdlc/evidence, and user-provided local files read-only. External sources require an explicit displayed boundary. - Normalize the request to canonical route intent. Use
technical_analysiswithtechnical-analysisfor technical, architecture, or combined assessments; usefunctional_analysiswithfunctional-analysisfor primarily functional assessments.
Do not produce assessment findings before both checkpoints are approved.
Checkpoint 1: Inferred Project Context
Present a decision-ready summary in the user's language with:
- product purpose, users, and lifecycle stage supported by evidence;
- stack, runtime, deployment model, integrations, boundaries, and key components;
- files, directories, and documents inspected;
- constraints and explicit non-goals;
- observed facts separated from inference;
- assumptions, contradictions, confidence, open questions, and unrecoverable historical intent.
Paths support the explanation; they do not replace it.
End with this complete question contract, translated when appropriate:
- What is being asked: approve or correct the project context just shown.
- Why: the assessment needs a canonical factual baseline and must not treat inference as confirmed intent.
- Authorizes: only making the displayed baseline content canonical.
- Does not authorize: assessment scope, requirement/story creation, format, tools, external access, writes, budget, contract, or execution start.
- Question: “Do you approve this context, or what should I correct?”
- Italian examples: “Approvo il contesto”; “Correggi: il deployment è su Kubernetes, non su ECS.”
- English examples: “I approve the context”; “Correct this: deployment is Kubernetes, not ECS.”
Apply corrections and repeat the same checkpoint until the represented baseline is safe. Persist the decision only with baseline approve (plus --host-receipt-file when the project requires host proof). Do not reuse checkpoint 1 as authorization for checkpoint 2.
Prepare The Immutable Proposal
After checkpoint 1:
- Inspect the output registry and choose
reuse,delta, ornew. Prefer an approved related artifact plus a delta when it satisfies the request. - For a new technical assessment, load
<plugin-root>/templates/technical-assessment.md. Preserve every semantic section, marking unsupported contentNot evidencedorNot assessed. - Reserve a new requirement ID and story ID and pass them to
assessment proposal preparewith--requirementand--story. The story must link to the requirement; never use a project-only placeholder or a fabricated requirement ID. - Profile installed capabilities and exact targets from evidence. Do not ask the user what is installed: run
capability inventory --json --json-profile full(read-only; the names, one-line descriptions, and transport types of the skills, commands, plugins, and MCP servers already installed for the user and the project, with no values, no secrets, and no network call). Then create a capability profile withcapability profile propose --id CAP-PROFILE-<story> --story <story> --phase analysis --context-file <evidence>, and runcapability recommend --id CAP-REC-<story> --profile CAP-PROFILE-<story> --from-inventoryto propose only the installed entries whose name or description names a technology declared by the approved evidence. Pass each chosen entry toassessment proposal prepare --capability <name>so it is bound in the proposal. When the project has a capability catalog (.sdlc/capability-discovery/catalog.json), only its declared entries are listed and proposed; never add one yourself. Missing installs or risky targets must be visible in checkpoint 2 or handled as an exception; the allowed capabilities are shown inside checkpoint 2, not as a separate question. - Resolve the complete execution budget from project configuration and runtime metering. Aggregate the main agent and all subagents at story scope.
- Run
assessment proposal prepare. Persist anassessment_proposalwithschema_version: assessment-proposal:v1and aproposal_hashover the approval payload.
The proposal must bind the approved baseline hash and contain concrete values for:
scopeandstory_reservation, including the requirement ID;deliverable, ordered sections, canonical delivery metadata, generator, and verifier;- exact evidence plan and capability bindings;
contract_draftand canonicalroute_intent;write_set[]with action, exact subject ID, path, subject hash when known, and artifact types;execution_budget;- security and access boundaries;
- approval boundary and idempotent application plan.
No approval may authorize a record constructed after the question. If any approved payload field changes, generate a new proposal hash and present the revised checkpoint 2.
Checkpoint 2: Combined Proposal And Full Tranche
Present one proposal with five primary business blocks and a compact technical appendix.
- Outcome, scope, and evidence: decision supported, audience, included/excluded areas, depth, requirement/story reservation, reuse mode, exact sources, and local checks.
- Deliverable and verification: ordered sections, format, extension, media type, path, delivery mode, generator, verifier, and required container/content/render dimensions.
- Tools, security, and writes: installed capabilities, permissions, targets, commands/checks, full write-set, and risky actions excluded.
- Budget and stop policy: approved execution tranche, described below.
- Start and approval boundary: exact internal records/actions, authorized task start, delivery behavior, exception triggers, and explicit exclusions.
The technical appendix must show at least the proposal ID/hash, baseline hash, requirement/story IDs, template/contract IDs and hashes, authorization actions, artifact types, and idempotency key. Technical details may be collapsible, but they must be visible before approval.
Budget Block
Show concrete values and the source/accuracy for each enabled metric:
- target active execution time; user and approved external waiting are excluded. The configured default is an estimated soft limit of 2,700 seconds with no hard limit;
- aggregate steps across the execution tree. The configured default is an estimated soft limit of 40 with no hard limit;
- aggregate tokens across the execution tree. The configured default is an estimated soft threshold of 200,000 and has no hard limit;
- cost cap and currency only with a named, reliable metering/pricing adapter, pricing reference, and currency;
- warning thresholds, normally 70% and 90% from configuration;
- completion/verification reserve, normally 15% from configuration;
- action at the limit: always
request_extension; at the pause the person extends (budget amend), takes a partial result, or stops (assessment proposal cancel); - automatic extension: none; a limit never raises itself, and every extension is a separate
budget amenddecision.
Use exact, estimated, or unavailable honestly. Never present an estimated or unavailable metric as a hard enforced cap. If a reliable metering/pricing adapter, pricing reference, or currency is missing, explicitly show cost as unavailable and non-binding in checkpoint 2; do not construct a default cost limit. The approved tranche includes analysis, subagents, artifact generation, verification, KB linking, gate checks, and final delivery; do not spend the completion reserve on optional analysis.
End with this complete question contract, translated when appropriate:
- What is being asked: approve this exact proposal hash and its complete execution tranche, or request changes.
- Why: one decision can safely cover all represented internal records and start actions only when their content, tools, writes, verification, and budget are fixed in advance.
- Authorizes: creation/reuse of the displayed requirement and story; only the displayed subject hashes and write-set; proposal-bound automation approvals; authorized task start; the displayed analysis, artifact generation, layered verification, KB linking, budget policy, and final summary.
- Does not authorize: installs, undisplayed external/production access, secrets, destructive work, other paths or subjects, a different artifact, material proposal changes, or budget extensions.
- Question: “Do you approve proposal
<id>with hash<hash>, including this budget and stop policy, or what should I change?” - Italian examples: “Approvo la proposta
<id>con questo budget”; “Modifica: massimo 45 minuti, niente fonti esterne, output DOCX.” - English examples: “I approve proposal
<id>with this budget”; “Change it: 45 minutes maximum, no external sources, DOCX output.”
One response decides the entire visible bundle. Do not ask separate normal questions for requirement, story, format, tools, template, contract, authorization, budget, or start.
Approve And Apply Without A Third Checkpoint
After checkpoint 2 approval:
- Run
assessment proposal approve. It must validate the unchanged proposal hash, record the checkpoint 2 approval (and the host receipt reference whenhost_verifiedrequires one), and create a proposal-boundcontent_authorizationwith exact actions, subjects, subject hashes, artifact types, boundaries, and a bounded use policy. When a meter adapter is configured (budget_policy.default_metering_adapter, defaultcodex-session), runbudget meter start --proposal <id>now, while the workflow is stillauthorized. The default meter reads Codex session events (CODEX_THREAD_ID); under Claude Code, or any host without one, pass--thread-id, use an enabledcodeburnadapter, or record usage withbudget usage record(see../agentic-sdlc/references/commands.md, budget metering). - Run
assessment proposal apply. Apply the displayed write-set idempotently: create/reuse the requirement, create/reuse the story, approve the template and story contract, write the task-start receipt, and store the budget snapshot. Allowed capabilities are not persisted as separate records; they stay in the proposal and in the contract'sallowed_tools. A partial failure must remain resumable through workflow state; do not create a second proposal. - Apply creates the requirement; inspect lineage with
requirement status. Do not pre-create the reserved requirement or story (for example withrequirement propose): apply refuses an ID that already exists outside the proposal and reuses it only when the same proposal is replayed. Never invent a free-text ID only to satisfy a gate. - Every automated approval or task-start use must validate authorization at the use timestamp and persist an
authorization_usage_receipt. Later closure or revocation must not invalidate valid historical receipts. - Start only the displayed story, unchanged contract, route intent, and proposal. A direct
actor-type humanflag without a host receipt is not a valid bypass. - Monitor with
assessment proposal status,budget status, and non-blocking progress updates. Record metered usage withbudget meter record --proposal <id>during execution and before completion; usebudget usage recordonly for usage measured outside a meter. - Close or consume the authorization when the workflow reaches a terminal state.
Use assessment proposal complete only after required delivery, verification, linkage, usage receipts, and deterministic gates pass. Apply and complete are internal actions, not normal user decisions.
Budget Exceptions And Amendments
At warning thresholds, report usage and remaining verification reserve without asking a question. Before exceeding a limit, pause with one exception question using the Question Contract. Show:
- remaining budget and metering accuracy;
- completed and remaining work;
- requested increment and new total;
- reason and partial-delivery alternative;
- what the extension authorizes and excludes.
Italian examples: “Approvo altri 20 minuti, totale 60”; “Consegna parziale senza estensione.” English examples: “Approve 20 more minutes, 60 total”; “Deliver the partial result without an extension.”
Persist an approved change with budget amend as budget-amendment:v1 (kind budget_amendment) referencing the base budget and proposal hashes. Never mutate the approved base budget. An extension does not widen scope, capabilities, access, or write paths.
Canonical Formats
| Format | Aliases | Extension | Media type | Generator/verifier |
markdown | md, markdown | .md | text/markdown | native checks |
docx | word, doc, docx | .docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document | documents |
xlsx | excel, spreadsheet, workbook, xlsx | .xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | spreadsheets |
pdf | pdf | .pdf | application/pdf | pdf |
pptx | powerpoint, slides, pptx | .pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation | presentations |
html | html | .html | text/html | native generation plus browser rendering |
json | json | .json | application/json | native schema/syntax checks |
csv | csv | .csv | text/csv | spreadsheets |
For any other file type use --format custom --extension <.ext>, optionally with --media-type <type> (default application/octet-stream) and --generator <capability> (default none). Built-in formats have a fixed extension, media type and generator, and reject different values.
Use artifact or artifact-plus-chat-summary; default to the latter. Never rename Markdown to fake another format.
Generate, Verify, And Link
Load the corresponding format skill before generating or validating a non-native artifact. If it is unavailable, request the install as an exception; do not improvise a substitute.
The generator must emit an artifact_generator_receipt (schema_version: artifact-generator-receipt:v1) with artifact_path (the linked artifact's project path), artifact_sha256 (its current hash), generator (exactly the approved delivery.generator), status: succeeded, generated_at, optional executor, and receipt_hash (sha256 over the stable JSON of all other fields except receipt_hash and hash_algorithm). Pass it separately from render evidence:
node <plugin-root>/bin/mpsf.mjs output link \
--root <target-project> \
--story ST-INITIAL-ASSESSMENT \
--type technical-analysis \
--artifact docs/technical-assessment.docx \
--template technical-analysis-assessment-v1 \
--mode new \
--requirement REQ-INITIAL-ASSESSMENT \
--authorization <authorization-id-from-assessment-proposal-approve> \
--receipt-file .sdlc/receipts/generation/GEN-ST-INITIAL-ASSESSMENT.json \
--render-evidence .sdlc/tests/ST-INITIAL-ASSESSMENT-docx-render.png--type, --artifact and --template must equal the approved proposal's deliverable.artifact_type, deliverable.artifact_path and deliverable.template_id, or assessment proposal complete rejects the link. The default path is .sdlc/stories/<story>/outputs/technical-analysis<ext>. To use docs/technical-assessment.docx, run assessment proposal prepare with --format docx --artifact docs/technical-assessment.docx.
--authorization is the exact proposal-bound ID returned by approval; linking consumes only its output.link action/subject pair and persists a use receipt. --receipt-file proves which capability generated the real artifact. --render-evidence supplies only the separate render or visual proof; functional and test evidence belongs in story complete-step or trace append. The older --evidence spelling remains a compatibility alias for this render-only input; neither form can substitute for the generator receipt.
output link persists a layered verification-receipt:v1 with distinct dimensions (required level rendered for docx/xlsx/pdf/pptx/html, semantic otherwise):
container_verified: file/container syntax and declared format;content_verified: required sections, stable IDs, evidence lineage, and semantic checks;render_verified: legibility, completeness, overlap/clipping, pages/sheets/slides/viewports;independent_verified: a genuinely separate verifier or review;output linkcurrently records it asnot-required.
Call an artifact “verified” only when every dimension required by the approved proposal passes. Otherwise say exactly “container verified”, “content verified”, or “render not verified”. A legacy status: passed container receipt alone means only structural verification.
Complete The Workflow
After approval, finish without a routine third checkpoint:
- produce only the approved artifact and write-set;
- persist generator, layered verification, authorization-use, and execution-usage receipts;
- link requirement, story, contract, proposal, artifact, and evidence hashes;
- run applicable deterministic and strict gates;
- create the release manifest and release-gate receipt when the result is released; use
archive-record:v1only for logical legacy exclusions, and use the separate transactionalarchive_planpolicy only when files must actually move; - return a concise verdict, major risks, recommendations, artifact path, exact verification dimensions, budget actuals with accuracy/source, limitations, and open decisions.
The user may request revisions after delivery. Request an exception decision only when continuing would cross the approved proposal or budget boundary.
For an existing KB, run migration active --release-manifest <released-id> without --apply before migration. Explain that the manifest defines what stays active, give the exact apply command as the example, and state the effect: configuration is never changed (if it is not pinned, --apply refuses until you run mpsf config migrate and apply its plan), immutable active records are only validated, and evidence from older valid releases is logically archived while remaining in place.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

