Sysi apply
Skill mammadeBastar/sysi/internal/sysiapp/templates/agents/codex/sysi-apply
Apply a sysi change in build phase using the native change workflow and Superpowers discipline.From its SKILL.md
npx -y skills add mammadeBastar/sysi --skill sysi-applyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.0 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Purpose
Use this skill during build phase to implement a sysi change while preserving /system as the foundation truth. The change's own files are the work order: proposal.md says why, design.md says how, tasks.md says what remains. Superpowers governs the implementation/debug/test/verify loop.
Initial Checks
- Run or read
sysi status --json. - Confirm the project is in build phase.
- Confirm the current directory is inside a declared workspace and the named change exists under
<workspace>/changes/<name>/. - Run
sysi change apply <name>from the workspace to mark the change applying and print the handoff. - Confirm the relevant Superpowers workflows are available for implementation planning, TDD, systematic debugging, and verification.
- Read the change's
proposal.md,design.md, andtasks.mdin full. - Read the relevant
/systemfiles allowed for the current role before editing implementation code, includingsystem/security/**when security invariants affect the work. - Identify whether the requested implementation would introduce design drift from
/systembefore changing behavior.
Phase Rules
- Build phase is required for implementation.
- Design phase work should use
sysi-exploreandsysi-captureinstead. - The change's
tasks.mdowns task tracking during build. - Running
sysi change apply <name>is mandatory before implementation edits. - Superpowers discipline is mandatory during implementation planning, test-driven development, systematic debugging, and verification.
- Frozen /system files are not implementation files.
Role And File Access
- Role is the declared workspace containing the current working directory.
- Read the allowed
/systemfiles for that role before deciding how to implement. - Treat
system/contracts/,system/flows/,system/modules/<workspace>.md,system/data/,system/obs/, andsystem/security/**as build context when they affect the work. - Keep implementation edits inside the current workspace.
Workflow
- Run
sysi change apply <name>before editing implementation code. - Use Superpowers skills for implementation planning, TDD, debugging, and verification.
- Treat a missing Superpowers workflow as a missing prerequisite and stop instead of implementing without it.
- Work through
tasks.mdin order and check each task off only after implementation and verification. - Keep edits scoped to the change and the current task.
- Compare implementation needs against
/systemtruth before changing behavior. - Treat design drift as any implementation need that contradicts or extends foundation truth, including new or changed HTTP endpoints, request or response payload-shape changes, event contracts, auth/session/permission rules, shared error behavior, contract conventions, schema or data invariants, security invariants, metrics, logging, tracing, or alerting contracts.
- If implementation reveals design drift, stop ordinary implementation work and explain the mismatch: what implementation needs, what
/systemcurrently says or omits, and which/systemfiles likely own the truth. - Ask the user for explicit user confirmation before changing
/systemfor detected drift. - If the user confirms the foundation change, run
sysi design-change <name>and followsysi-design-changebefore mutating controlled or frozen/systemfiles. - If the user does not agree to the foundation change, do not continue implementation that contradicts
/system; revise the change or implementation approach to fit current foundation truth. - When all tasks are checked and verified, run
sysi change archive <name>from the workspace.
Validation
- Run focused tests for the changed behavior.
- Run broader tests required by the change before completion.
- Re-read modified code and relevant
/systemfiles to check alignment. - Confirm implementation respects contract conventions, error behavior, and security invariants when those files apply.
- Confirm detected design drift received user confirmation before any foundation mutation.
- Confirm agreed design drift went through
sysi design-change <name>andsysi-design-changebefore controlled or frozen/systemedits. - Confirm no frozen /system files changed accidentally.
- Confirm
tasks.mdcheckboxes accurately reflect completed work.
Stop Conditions
- Stop if
sysi status --jsondoes not show build phase. - Stop if the current directory is not inside a declared workspace.
- Stop if the named change is missing or archived.
- Stop if required Superpowers workflows are unavailable.
- Stop if the requested implementation contradicts
/systemtruth. - Stop if a foundation mutation is required and the user has not confirmed the drift.
- Stop if the user does not agree to a required foundation change and implementation would contradict
/system. - Stop if confirmed design drift has not gone through
sysi design-change <name>andsysi-design-change. - Stop if tests fail and systematic debugging has not isolated the cause.
Do Not
- Do Not implement outside a sysi change during build phase.
- Do Not implement before running
sysi change apply <name>. - Do Not implement when a mandatory apply/debug/test/verify workflow is a missing prerequisite.
- Do Not mutate frozen /system files as part of normal apply.
- Do Not mutate
/systemfor design drift without explicit user confirmation. - Do Not continue implementation that contradicts
/systemwhen the user does not agree to the foundation change. - Do Not treat new endpoints, payload shapes, auth rules, security invariants, data shapes, or observability contracts as ordinary implementation details when they are missing from
/system. - Do Not copy full Superpowers instructions into this skill; invoke or follow them.
- Do Not mark tasks complete without fresh verification.
- Do Not hide design drift by forcing code to fit an outdated proposal.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.