What it is: Company policies.
Works out the smallest useful Policy Library 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 1: Foundation. Fits: Starter stage. Table code: n/a.
Also use it when the user says "company policies", 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: Which policies exist today?
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: policy-library
intent: null # setup | advice | review | fix | build | convert | export
scale: null # Starter | Growth | Scale, only if the answer changes it
areas:
"Policies": null
"Ownership": null
"Lifecycle": 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: Build a register of policies with owner, version and review date. Write the missing policy drafts only for the ones you name.
Why this one: Most SMEs have policies in several places and no owner. A register with an owner and a review date makes the gap visible.
Workflow: Policy draft → Approve → Publish version → Assign → Review date
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.
Policy Name,Acknowledgement Required,Applies To,Approver,Category,Compliance Framework,Effective Date,Next Review,Policy ID,Policy Owner,Status,Summary,Version,Acknowledgements
Code of Conduct,FALSE,All employees,Sneha Iyer,HR,ISO 27001,2026-01-15,2026-01-15,,Sneha Iyer,Published,"Code of conduct, version 2.1, reviewed in January.",v1.0,11
CREATE TABLE policy_library (
policy_name VARCHAR(255),
acknowledgement_required BOOLEAN NOT NULL,
applies_to VARCHAR(255),
approver VARCHAR(255),
category VARCHAR(100) NOT NULL,
compliance_framework VARCHAR(255),
effective_date DATE NOT NULL,
next_review DATE NOT NULL,
policy_id SERIAL PRIMARY KEY,
policy_owner VARCHAR(255),
status VARCHAR(100) NOT NULL,
summary TEXT,
version VARCHAR(255),
acknowledgements NUMERIC NOT NULL,
created_at TIMESTAMP DEFAULT NOW(),
updated_at TIMESTAMP DEFAULT NOW()
);
CREATE INDEX idx_policy_library_status ON policy_library (status);
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Policy Library",
"type": "object",
"additionalProperties": false,
"properties": {
"Policy Name": { "type": "string" },
"Acknowledgement Required": { "type": "boolean" },
"Applies To": { "type": "string" },
"Approver": { "type": "string" },
"Category": { "type": "string" },
"Compliance Framework": { "type": "string" },
"Effective Date": { "type": "string", "format": "date" },
"Next Review": { "type": "string", "format": "date" },
"Policy ID": { "type": "integer" },
"Policy Owner": { "type": "string" },
"Status": { "type": "string" },
"Summary": { "type": "string" },
"Version": { "type": "string" },
"Acknowledgements": { "type": "number" }
},
"required": [
"Category",
"Effective Date",
"Next Review",
"Status",
"Acknowledgements"
]
}
| CSV column | Notion property | Set after import |
|---|---|---|
| Policy Name | Title | Use as the database title |
| Acknowledgement Required | Checkbox | Convert to Checkbox |
| Applies To | Text | Leave as Text |
| Approver | Text | Leave as Text |
| Category | Select (add options after import) | Convert to Select, add options: "HR", "Finance", "Security", "Safety", "Legal", "Operations" |
| Compliance Framework | Text | Leave as Text |
| Effective Date | Date | Convert to Date |
| Next Review | Date | Convert to Date |
| Policy ID | Text (preserve source ID) | Keep imported IDs as Text; optionally add a separate Unique ID property |
| Policy Owner | Text | Leave as Text |
| Status | Select (add options after import) | Convert to Select, add options: "Draft", "In Review", "Published", "Under Revision", "Retired" |
| Summary | Text | Leave as Text |
| Version | Text | Leave as Text |
| Acknowledgements | Number | Convert to Number |
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 | Policy Name | text |
VARCHAR(255) |
string |
Text | Code of Conduct |
| 2 | Acknowledgement Required | checkbox |
BOOLEAN |
boolean |
Checkbox | FALSE |
| 3 | Applies To | text |
VARCHAR(255) |
string |
Text | All employees |
| 4 | Approver | text |
VARCHAR(255) |
string |
Text | Sneha Iyer |
| 5 | Category | select |
VARCHAR(100) |
string |
Select (add options after import) | HR |
| 6 | Compliance Framework | text |
VARCHAR(255) |
string |
Text | ISO 27001 |
| 7 | Effective Date | date |
DATE |
string, format: date |
Date | 2026-01-15 |
| 8 | Next Review | date |
DATE |
string, format: date |
Date | 2026-01-15 |
| 9 | Policy ID | id |
SERIAL PRIMARY KEY |
integer |
Text (preserve source ID) | (blank) |
| 10 | Policy Owner | text |
VARCHAR(255) |
string |
Text | Sneha Iyer |
| 11 | Status | select |
VARCHAR(100) |
string |
Select (add options after import) | Published |
| 12 | Summary | long_text |
TEXT |
string |
Text | Code of conduct, version 2.1, reviewed in January. |
| 13 | Version | text |
VARCHAR(255) |
string |
Text | v1.0 |
| 14 | Acknowledgements | number |
NUMERIC |
number |
Number | 11 |
Category
HR | Finance | Security | Safety | Legal | Operations
Status
Draft | In Review | Published | Under Revision | Retired
Link fields: none
Prompt
We have some HR policies in a folder and nothing else written down.
Context first - one question per message, nothing already answered:
Q: Which are missing? A: Leave, expenses and remote work.
Q: Who approves? A: The owner.
Q: Review cycle? A: Every year.
Recommended next step - offered, not built:
Build a register of policies with owner, version and review date. Write the missing policy drafts only for the ones you name.
Workflow: Policy draft → Approve → Publish version → Assign → Review date
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 company policies 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.