/apex:améliorer_compétence - Proposition d'amélioration

Crée une proposition d'amélioration de compétence à partir d'une erreur, review ou test échoué, en suivant un processus en plusieurs étapes.

Spar Skills Guide Bot
DeveloppementIntermédiaire
0022/07/2026
Claude Code
#skill-improvement#proposal-generation#automation#registry#validation

Recommandé pour

Slash Command: /apex:improve_skill

Purpose

Create a skill improvement proposal from a mistake, review, or failed test.

Output

13_skills/skill_refinery/improvement_proposals/

Inputs

Preconditions

  • Repo structure check passes (apex_structure_check.yml)
  • python3 25_automation/registry_sync/sync_registries.py --check is green
  • Caller has write access to 13_skills/skill_refinery/improvement_proposals/

Step-by-step

1. Load context

Compile a context packet via 42_context_compiler/compile_context.py for the appropriate persona (12_agents/personas/).

2. Validate inputs

  • Required input fields present.
  • Input matches the relevant schema in 26_schemas/.
  • No conflicts with existing artifacts in 13_skills/skill_refinery/improvement_proposals/.

3. Author artifact

4. Update registries

  • Run python3 25_automation/registry_sync/sync_registries.py --write to refresh the relevant *.registry.yaml.
  • Add a row to 18_registry/change_ledger.yaml.

5. Update traceability

6. Validate

7. Capture evidence

Outputs

  • Artifact in 13_skills/skill_refinery/improvement_proposals/
  • Updated *.registry.yaml
  • Change ledger row
  • Optional evidence packet
  • Optional drift report

Success criteria

  • New artifact exists, validates against schema, is referenced from the appropriate registry, and CI continues to pass.

Failure modes

| Failure | Detection | Remediation | |---|---|---| | Schema mismatch | schema-validate CI gate | fix artifact to match schema | | Registry drift | registry-sync-check | sync_registries.py --write | | Missing prerequisite | structure-check fails | seed required directory/file | | Duplicate artifact id | author-time check | choose next free ID | | OneDrive sync collision | hash mismatch on rerun | re-run after sync settles |

Rollback

Revert the commit that introduced the artifact:

git revert <sha>
python3 25_automation/registry_sync/sync_registries.py --write

Example invocation

# Pseudocode — actual invocation is via the agent harness
/apex:improve_skill target=ATLAS

See also

Skills similaires