ask-matt
MAmattpocock/skills336k近 7 天新增 4,217 个 star
Turn a short, unstructured prompt or task statement into a detailed imperative spec. Use when asked to improve, refine, expand or structure a prompt or spec; takes text or a .md path.
Turns a short note or unstructured task into a detailed imperative specification. Suitable for 1C developers who need to formalize a quickly written thought into a clear task statement.
Trigger this skill on user phrases like:
The skill works with any subject area, but specifically accounts for 1C task specifics (terminology, attribute names, object names, form names).
| Mode | Trigger | What it does |
|---|---|---|
| Inline | argument is arbitrary text | Improved prompt is printed in chat |
| File | argument is a path to an existing file | Result is saved next to the source with -enhanced.md suffix |
| Interactive | argument is empty | Ask the user for the prompt text or a file path |
The mode is selected deterministically, without heuristic on the argument text:
.md in the text. A phrase like "prepare a spec about .md generation" must not be interpreted as a path. File existence is checked by Read, not by string parsing.The core of the skill. Re-check this list on every generation:
Айс_КодИсточника77 with "service attribute".Mandatory result blocks:
Source prompt (short, unstructured):
The task — display all non-typical attributes of typical objects on the "Доп. реквизиты Айс" tab. Place the tab last. If only one attribute is added, Айс_КодИсточника77, do nothing. Prepare a list of objects, analyze element forms, determine where and how to add the tab.
Improved prompt (structured, detailed):
Analyze all typical configuration objects and prepare a list of those that contain non-typical attributes. Study the element forms of these objects. Add a new "Доп. реквизиты Айс" tab last in order to each form. Move all non-typical attributes onto the tab, except when the only non-typical attribute is Айс_КодИсточника77 (then no changes are made). For each object, specify:
- Object name.
- List of non-typical attributes.
- Name of the element form used and current tab structure.
- Recommended changes to tab placement and attribute movement, taking interface logic into account.
Format the output as a convenient table or structured list ready for implementation.
Additional cases — see examples/.
DO:
DON'T:
<source filename without extension>-enhanced.md. If the original is postanovka.md, the result is postanovka-enhanced.md in the same folder.Source files are read as UTF-8. If Read returns obvious mojibake (unreadable Cyrillic like "ж©", "", squares), inform the user that the file is likely in cp1251 or another encoding and ask to save it as UTF-8. Auto-detection of encoding is intentionally not implemented in the skill — a deliberate simplification of the first version.
The skill should recognize these user phrasings as triggers, even when the /prompt-enhancer command is not specified explicitly:
content/rules/coding-standards.md, standards(name="dev-standards-architecture")) and the 1c-metadata-manage skill (docs/query-writing.md, docs/query-optimization.md) for query and metadata details.MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
OBobra/superpowers331k近 7 天新增 5,030 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star
AFaffaan-m/ECC314k近 7 天新增 3,503 个 star