Don't scroll to bottm when sending message on mobile
This commit is contained in:
parent
75ef93ed80
commit
9b51159e42
116 changed files with 6201 additions and 1 deletions
14
web/agent/skills/safe-refactor/SKILL.md
Normal file
14
web/agent/skills/safe-refactor/SKILL.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
description: "Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits."
|
||||
---
|
||||
# Safe refactor
|
||||
|
||||
Define behavior-preservation boundary and establish verification before structural edits.
|
||||
|
||||
- Keep feature changes outside refactor.
|
||||
- Move one ownership boundary at a time.
|
||||
- Preserve public interfaces, failure behavior, ordering, and compatibility unless explicitly scoped.
|
||||
- Keep intermediate states buildable and testable.
|
||||
- Avoid dependency or configuration growth without correctness need.
|
||||
|
||||
Run same proof after change. Stop when behavior matches and requested structure is achieved.
|
||||
4
web/agent/skills/safe-refactor/agents/openai.yaml
Normal file
4
web/agent/skills/safe-refactor/agents/openai.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
interface:
|
||||
display_name: "Safe Refactor"
|
||||
short_description: "Preserve behavior through structural change"
|
||||
default_prompt: "Use $safe-refactor to restructure this code while preserving behavior."
|
||||
Loading…
Reference in a new issue