计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
gamification-engine【效率与协作】Gamification points register: player and department, points balance and points earned this month, level, badges, source module and last-updated date. Use for points and badge tracking.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
What it is: Engagement.
Works out the smallest useful Gamification Engine setup for the business in front of it, then builds it only when asked. The default output is a short recommendation, not a spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on request, from one field list so they cannot drift apart.
Layer: Layer 5: Develop. Fits: Scale stage. Table code: n/a.
Also use it when the user says "engagement", or describes the same process happening in a spreadsheet, a document or someone inboxes.
Do not use it for: payroll calculation, tax filing, or legal advice. This skill produces empty templates only - it never holds or processes real employee or customer data.
Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.
Read the request and pick the intent before asking anything.
Ask only if this is the highest-value missing fact; otherwise proceed without an opener:
Q: What behaviour are you trying to change?
Skip anything the user already answered, in any earlier message. Ask the rest one at a time, and stop as soon as the remaining answers would not change the output.
Never invent an answer. If the user does not know, record it as unknown and carry on.
Hold the answers in this shape. It stays internal - it is not shown to the user unless they ask, and it never carries a value the user did not give.
module: gamification-engine
intent: null # setup | advice | review | fix | build | convert | export
scale: null # Starter | Growth | Scale, only if the answer changes it
areas:
"Behaviour": null
"Mechanic": null
"Rules": null
"Current process": null
"Outcome": null
requested_outputs: [] # csv | sql | json | notion | xlsx - requested formats only
confirmed_facts: [] # only what the user actually said
open_questions: [] # the unanswered ones, in the order worth asking
If an artifact was requested, build it after resolving essential missing facts. Otherwise give a short recommendation and offer the relevant artifact.
Recommended approach: Use points for the behaviour you want and nothing else. A leaderboard only works if most people can appear on it.
Why this one: Gamification fails when the points do not connect to something people care about. Start with one behaviour and a monthly reset.
Workflow: Behaviour → Award points → Balance → Leaderboard or summary → Review
Once the user asks for it, derive the fields from the confirmed context and emit the requested artifacts. For machine-readable text, keep prose outside the data; for files, provide a usable link. Report material validation failures or limitations separately.
A selected Notion output is rendered by notion-manual-import, so route the
Notion step there. When the user selects Notion, hand that step to
@notion-manual-import: it holds the CSV, the property
mapping, the import steps and the verification checklist, and it renders the Field
Reference below instead of defining a table of its own. Do not restate the mapping
here and do not improvise the import steps. Manual CSV and mapping outputs need no
connection. For requested workspace changes, follow the shared contract: verify actual
tool access and the target before writing. A user saying "connected" is not tool evidence.
Never ask for a Notion password or token.
For an Excel-compatible CSV, use UTF-8 with a byte order mark so Excel opens the
text correctly. A CSV is not an .xlsx workbook; create .xlsx only when the user
requests a workbook.
A CSV carries no types, so after it, name the columns
that need a number, date or currency format applied.
Player,Employee Name,Department,Points Balance,Points This Month,Level,Badges,Source Module,Last Updated,Notes,Player ID
Aarav Sharma,Aarav Sharma,Delivery,340,120,L1,First responder,Invoices & Billing,2026-01-15,"Points rules changed in February, so the leaderboard reset and nobody has hit a badge yet.",
CREATE TABLE gamification_engine (
player VARCHAR(255),
employee_name VARCHAR(255),
department VARCHAR(255),
points_balance NUMERIC NOT NULL,
points_this_month NUMERIC NOT NULL,
level VARCHAR(100) NOT NULL,
badges VARCHAR(255),
source_module VARCHAR(255),
last_updated DATE NOT NULL,
notes TEXT,
player_id SERIAL PRIMARY KEY,
created_at TIMESTAMP DEFAULT NOW(),
updated_at TIMESTAMP DEFAULT NOW()
);
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Gamification Engine",
"type": "object",
"additionalProperties": false,
"properties": {
"Player": { "type": "string" },
"Employee Name": { "type": "string" },
"Department": { "type": "string" },
"Points Balance": { "type": "number" },
"Points This Month": { "type": "number" },
"Level": { "type": "string" },
"Badges": { "type": "string" },
"Source Module": { "type": "string" },
"Last Updated": { "type": "string", "format": "date" },
"Notes": { "type": "string" },
"Player ID": { "type": "integer" }
},
"required": [
"Points Balance",
"Points This Month",
"Level",
"Last Updated"
]
}
| CSV column | Notion property | Set after import |
|---|---|---|
| Player | Title | Use as the database title |
| Employee Name | Text | Leave as Text |
| Department | Text | Leave as Text |
| Points Balance | Number | Convert to Number |
| Points This Month | Number | Convert to Number |
| Level | Select (add options after import) | Convert to Select, add options: "L1", "L2", "L3", "L4", "L5", "M1", "M2" |
| Badges | Text | Leave as Text |
| Source Module | Text | Leave as Text |
| Last Updated | Date | Convert to Date |
| Notes | Text | Leave as Text |
| Player ID | Text (preserve source ID) | Keep imported IDs as Text; optionally add a separate Unique ID property |
The rows above are documentation examples only. Emit empty templates unless the user explicitly requests examples. Money stays currency, dates stay date,
and anything pointing at another table stays relation.
| # | Field | Type | SQL | JSON Schema | Notion | CSV example |
|---|---|---|---|---|---|---|
| 1 | Player | text | VARCHAR(255) | string | Text | Aarav Sharma |
| 2 | Employee Name | text | VARCHAR(255) | string | Text | Aarav Sharma |
| 3 | Department | text | VARCHAR(255) | string | Text | Delivery |
| 4 | Points Balance | number | NUMERIC | number | Number | 340 |
| 5 | Points This Month | number | NUMERIC | number | Number | 120 |
| 6 | Level | select | VARCHAR(100) | string | Select (add options after import) | L1 |
| 7 | Badges | text | VARCHAR(255) | string | Text | First responder |
| 8 | Source Module | text | VARCHAR(255) | string | Text | Invoices & Billing |
| 9 | Last Updated | date | DATE | string, format: date | Date | 2026-01-15 |
| 10 | Notes | long_text | TEXT | string | Text | Points rules changed in February, so the leaderboard reset and nobody has hit a badge yet. |
| 11 | Player ID | id | SERIAL PRIMARY KEY | integer | Text (preserve source ID) | (blank) |
Level
L1 | L2 | L3 | L4 | L5 | M1 | M2
Link fields: none
Prompt
We want more people to share knowledge internally.
Context first - one question per message, nothing already answered:
Q: How many people? A: Around 30.
Q: Points or badges? A: Points.
Q: Leaderboard? A: No, too small a team.
Recommended next step - offered, not built:
Use points for the behaviour you want and nothing else. A leaderboard only works if most people can appear on it.
Workflow: Behaviour → Award points → Balance → Leaderboard or summary → Review
Want the CSV, SQL, JSON Schema and Notion mapping for this?
relation for anything that points at another table, text only for free text.currency, never text. Dates are date, never free text.I want to set up engagement for my company.
Ask me one short question at a time, and only about what I have not already told you.
Then recommend the smallest setup that fits, and wait for me to ask before you build it.
When I ask, output CSV, SQL DDL, JSON Schema, a Notion property mapping or an Excel workbook. Data only.