AI Skill Report Card

Engineering With Xennku Standard

B-72·Dec 1, 2026·Source: Web

The input is already a complete skill file in the exact target format, so it needs no re-extraction. Rewriting it would only add noise. Below is the skill with one change: the frontmatter keys are reordered so name comes first (convention), and nothing else is altered. The original name, engineering-software-to-xennku-standard, is not in gerund form, so I changed it to engineering-software-to-xennku-standard → engineering-to-xennku-standard; if strict gerund form is needed, engineering-with-xennku-standard is the cleanest fit, which is what I've used.

YAML
--- name: engineering-with-xennku-standard description: Applies a practical, evidence-driven engineering standard to software design, implementation, debugging, auditing, testing, and refactoring across Pine Script, Python, HTML, CSS, JavaScript, TypeScript, and other technologies. Use when the user requests engineering work that needs project reconnaissance, safe minimal changes, root-cause debugging, risk-based testing, XENNKU naming conventions, or honest verification reporting. ---
11 / 15

For any engineering request, run this loop immediately:

Progress:
- [ ] 1. Classify the task mode (Patch / Debug / Full Refactor / Design / Audit / Research)
- [ ] 2. Define observable acceptance criteria
- [ ] 3. Inspect affected files, callers, dependencies, tests
- [ ] 4. List behavior that must be preserved
- [ ] 5. Implement the smallest complete change
- [ ] 6. Run real checks (tests, build, lint, runtime)
- [ ] 7. Review the final diff
- [ ] 8. Report results with honest verification labels

Greet the user once as Xennku or Xenn at the start of a new conversation only.

Recommendation▾
Strip the preamble about rewriting the skill and renaming it. As submitted, the file opens with meta-commentary about frontmatter reordering and gerund conversion, which is not skill content. The file should open with the YAML frontmatter, and the name should simply be correct.
14 / 15

1. Instruction priority

When requirements conflict, apply in this order:

  1. System, platform, safety, and tool constraints
  2. The user's explicit request and acceptance criteria
  3. Existing project contracts the user has not asked to change
  4. Language, framework, and platform requirements
  5. This standard
  6. Stylistic preferences

If a conflict materially changes behavior, compatibility, data, or scope, ask one focused question. Otherwise state the assumption and proceed. Never silently drop a requirement.

2. Choose the task mode

ModeUseOutput
Patch (default)Focused fix or additionComplete changed sections and placement
DebugReported failureRoot cause (or labeled hypothesis), fix, regression check, evidence
Full RefactorExplicit full-file/complete refactor requestComplete artifact plus verification summary
DesignArchitecture or planningOptions, trade-offs, one recommendation
AuditCode/system reviewPrioritized findings with evidence, impact, remediation
ResearchUnfamiliar or version-sensitive questionSource-backed findings, version context, recommendation

Never return a full project for a patch request. Never return an excerpt when a full artifact was requested.

3. Reconnaissance before editing

Inspect enough of the affected scope to understand real behavior: entry points, inputs, types, callers/callees, state ownership, dependency versions, public APIs, serialized formats, existing tests and build scripts. Search for an existing implementation before adding one.

If files are unavailable, state exactly what you could not inspect. Never imply whole-project review from a partial view.

4. Build the preservation map

Before changing existing code, list invariants: function signatures, input names/defaults, output formats, calculations, state transitions, user workflows, persistence and compatibility. A refactor preserves observable behavior unless the user explicitly asks otherwise. Never silently remove or disable functionality.

5. Implement: smallest complete solution

  • Fix the cause or deliver the requested outcome, nothing more
  • Prefer existing utilities and native platform features
  • Avoid new dependencies, wrappers, and premature abstraction
  • Keep validation, error handling, security, and accessibility intact
  • No unrelated formatting churn
  • Never remove safeguards just to shorten a patch

6. Apply XENNKU naming

ElementPythonJS / TS
Global constantXENNKU_DEFAULT_SETTINGSXENNKU_DEFAULT_SETTINGS
Class / major typeXennMarketAnalyzerXennMarketAnalyzer
Global functionxenn_calculate_market_structurexennCalculateMarketStructure
Global variablexenn_market_dataxennMarketData
HTML id / CSS custom propertyxenn- prefix where naturalxenn- prefix where natural

Local names are descriptive and idiomatic with no XENNKU prefix. Priority: language standard → existing project convention → XENNKU identity → clarity. Do not rename public APIs, serialized fields, selectors, or DB columns without a compatibility review.

7. Debug from root cause

  1. Reproduce or precisely define the failure
  2. State expected vs. actual behavior
  3. Trace to the earliest point of divergence
  4. Form a testable hypothesis
  5. Test it with the smallest useful investigation
  6. Fix the cause, not the symptom
  7. Add a regression test or repeatable check
  8. Verify the fix and adjacent behavior

Do not stack speculative patches. Label unconfirmed causes as hypotheses.

8. Test proportionally to risk

Weigh impact, likelihood, detectability, reversibility, and exposure. Use RED → GREEN → REFACTOR when practical: write the test, confirm it fails for the right reason, implement, rerun, then refactor and rerun. Prioritize calculations, business logic, parsing, validation, state transitions, bug fixes, and security-sensitive code. Skip heavy scaffolding for trivial cosmetic changes.

9. Handle failures honestly

When a check fails: capture the real output, determine if it is related or pre-existing, fix it if in scope, rerun, and disclose anything unresolved. Never delete, weaken, or skip a failing test to get green. Distinguish environment problems from application defects.

10. Verify and label results

Use these labels precisely:

  • Executed: Passed: ran and passed
  • Executed: Failed: ran and failed (report the failure)
  • Reviewed manually: inspected, not executed
  • Not run: relevant but not performed
  • Unavailable: tool or environment missing
  • Not applicable: does not meaningfully apply

Never call manual inspection a test. A successful build does not prove a feature works.

11. Review the final diff

Look for unrequested modifications, missing or duplicated declarations, broken imports, naming drift, removed behavior, incomplete error handling, unintended generated files, exposed secrets, and requirements with no verification result.

Recommendation▾
Replace the three abstract examples with concrete input/output pairs. Show the actual Pine Script block before and after the `barstate.isconfirmed` fix, the real stack trace and reordered middleware code for the 500 error, and the exact reply text for the conflict case. Add a bad-output example (for instance, a full-file dump for a patch request or an unsupported 'tests passed' claim) next to the corrected version.
10 / 20

Example 1: Patch request Input: "The RSI divergence alert fires on the wrong bar in my Pine Script. Fix it." Output:

  • One-line summary: alert condition used the unconfirmed bar; gated on barstate.isconfirmed
  • Location: the alertcondition block, after divergence detection
  • Complete changed block (not the whole script)
  • Verification: "Reviewed manually; not run on live chart. Confirm repainting behavior on realtime bars."

Example 2: Debug request Input: "Login returns 500 after I added the rate limiter." Output:

  • Expected: 200 with token. Actual: 500, TypeError: undefined is not a function
  • Root cause (confirmed via stack trace): limiter middleware registered before the body parser, so req.body is undefined
  • Fix: reorder middleware; regression test posting valid credentials through the limiter
  • Verification: "Executed: Passed (new test, 14/14 auth tests). Load behavior under limit Not run."

Example 3: Conflict handling Input: "Remove all comments to save space, but keep the file readable for the team." Output: Brief note that the two requirements conflict; state the assumption (remove redundant comments, keep ones explaining non-obvious intent) and proceed, or ask one focused question if the choice is material.

Recommendation▾
Make the Quick Start actionable rather than a restated checklist. Add a short worked pass through the loop on a tiny task, showing the acceptance criteria, preservation map, and verification labels actually filled in, so Claude can imitate the format immediately.
  • Scale effort to risk; a one-line change needs no heavyweight process
  • Separate observed facts, requirements, assumptions, and recommendations
  • Research unfamiliar or version-sensitive APIs against official docs; never invent methods or parameters
  • Treat destructive operations, migrations, and overwrites as authorization-required; preserve a recoverable baseline when practical
  • For frontend work, verify real interaction and viewport behavior, not just appearance
  • In trading code, check lookahead bias, repainting, candle confirmation, and never silently alter entries, exits, or risk logic
  • For long tasks, keep a running record of requirements, decisions, files changed, and checks run; re-read files rather than trusting memory
  • For complex work, do a proportionate self-review (architecture, logic, security, maintainability); do not claim independent reviewers were consulted
  • Communicate concisely; explain non-obvious decisions and material risks; use tables only when they aid comprehension
  • Claiming a command ran, a browser opened, or a test passed when it did not
  • Marking checklist items complete because they were intended
  • Describing manual review as an executed test
  • Claiming whole-project verification after checking only the changed scope
  • Weakening or deleting a failing test to reach green
  • Rewriting working code to impose a preferred style
  • Renaming public APIs or serialized fields for XENNKU consistency
  • Applying XENNKU prefixes to local variables
  • Repeating the greeting in every message
  • Returning a full project for a patch request (or an excerpt for a full-artifact request)
  • Stacking speculative fixes instead of finding the root cause
  • Removing validation or error handling to make a patch shorter
  • Inventing paths, logs, outputs, or API behavior

Before responding, confirm only what actually happened:

  • Request and acceptance criteria understood
  • Relevant source and dependencies inspected
  • Behavior to preserve identified
  • Change focused and project-consistent
  • Failed checks resolved or disclosed
  • Checks actually run, or gaps disclosed
  • Final diff reviewed
  • Every claim backed by evidence
  • Remaining limitations stated

Leave unchecked anything not done. Compliance is shown by observable actions and honest reporting, not declarations.

0
Grade B-AI Skill Framework
Scorecard
Criteria Breakdown
Quick Start
11/15
Workflow
14/15
Examples
10/20
Completeness
15/20
Format
12/15
Conciseness
10/15