视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
document-management-system【文档与办公】Document register: type, owner, upload and signed dates, version, storage link, confidentiality and signature-required flag. Use for document control.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
What it is: Storage & signing.
Works out the smallest useful Document Management System 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 7: Protect. Fits: Growth stage. Table code: n/a.
Also use it when the user says "storage & signing", 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: Where do your documents live now?
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: document-management-system
intent: null # setup | advice | review | fix | build | convert | export
scale: null # Starter | Growth | Scale, only if the answer changes it
areas:
"Documents": null
"Structure": 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: Fix naming, ownership and a final-versus-draft rule before adding any new tool. Structure without ownership stays chaotic.
Why this one: Document systems fail at versioning and ownership, not at storage. A naming rule plus one owner per document type is the practical fix.
Workflow: Document captured → Named and tagged → Owner assigned → Approved version → Archived
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.
Document Title,Document Type,Employee Name,Department,Uploaded By,Upload Date,Signature Required,Signed Date,Version,Storage Link,Confidentiality,Status,Document ID
Master Services Agreement,Contract,Aarav Sharma,Delivery,Sneha Iyer,2026-01-15,FALSE,2026-01-15,v1.0,https://example.com/doc,Internal,Published,
CREATE TABLE document_management_system (
document_title VARCHAR(255),
document_type VARCHAR(100) NOT NULL,
employee_name VARCHAR(255),
department VARCHAR(255),
uploaded_by VARCHAR(255),
upload_date DATE NOT NULL,
signature_required BOOLEAN NOT NULL,
signed_date DATE NOT NULL,
version VARCHAR(255),
storage_link TEXT,
confidentiality VARCHAR(100) NOT NULL,
status VARCHAR(100) NOT NULL,
document_id SERIAL PRIMARY KEY,
created_at TIMESTAMP DEFAULT NOW(),
updated_at TIMESTAMP DEFAULT NOW()
);
CREATE INDEX idx_document_management_system_status ON document_management_system (status);
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Document Management System",
"type": "object",
"additionalProperties": false,
"properties": {
"Document Title": { "type": "string" },
"Document Type": { "type": "string" },
"Employee Name": { "type": "string" },
"Department": { "type": "string" },
"Uploaded By": { "type": "string" },
"Upload Date": { "type": "string", "format": "date" },
"Signature Required": { "type": "boolean" },
"Signed Date": { "type": "string", "format": "date" },
"Version": { "type": "string" },
"Storage Link": { "type": "string", "format": "uri" },
"Confidentiality": { "type": "string" },
"Status": { "type": "string" },
"Document ID": { "type": "integer" }
},
"required": [
"Document Type",
"Upload Date",
"Signed Date",
"Confidentiality",
"Status"
]
}
| CSV column | Notion property | Set after import |
|---|---|---|
| Document Title | Title | Use as the database title |
| Document Type | Select (add options after import) | Convert to Select, add options: "Contract", "Policy", "Invoice", "Certificate", "Report", "ID Proof", "Other" |
| Employee Name | Text | Leave as Text |
| Department | Text | Leave as Text |
| Uploaded By | Text | Leave as Text |
| Upload Date | Date | Convert to Date |
| Signature Required | Checkbox | Convert to Checkbox |
| Signed Date | Date | Convert to Date |
| Version | Text | Leave as Text |
| Storage Link | URL | Convert to URL |
| Confidentiality | Select (add options after import) | Convert to Select, add options: "Internal", "Public", "Confidential", "Restricted" |
| Status | Select (add options after import) | Convert to Select, add options: "Draft", "In Review", "Approved", "Published", "Superseded", "Archived" |
| Document 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 | Document Title | text | VARCHAR(255) | string | Text | Master Services Agreement |
| 2 | Document Type | select | VARCHAR(100) | string | Select (add options after import) | Contract |
| 3 | Employee Name | text | VARCHAR(255) | string | Text | Aarav Sharma |
| 4 | Department | text | VARCHAR(255) | string | Text | Delivery |
| 5 | Uploaded By | text | VARCHAR(255) | string | Text | Sneha Iyer |
| 6 | Upload Date | date | DATE | string, format: date | Date | 2026-01-15 |
| 7 | Signature Required | checkbox | BOOLEAN | boolean | Checkbox | FALSE |
| 8 | Signed Date | date | DATE | string, format: date | Date | 2026-01-15 |
| 9 | Version | text | VARCHAR(255) | string | Text | v1.0 |
| 10 | Storage Link | url | TEXT | string, format: uri | URL | https://example.com/doc |
| 11 | Confidentiality | select | VARCHAR(100) | string | Select (add options after import) | Internal |
| 12 | Status | select | VARCHAR(100) | string | Select (add options after import) | Published |
| 13 | Document ID | id | SERIAL PRIMARY KEY | integer | Text (preserve source ID) | (blank) |
Document Type
Contract | Policy | Invoice | Certificate | Report | ID Proof | Other
Confidentiality
Internal | Public | Confidential | Restricted
Status
Draft | In Review | Approved | Published | Superseded | Archived
Link fields: none
Prompt
We have the same policy in six folders with different names.
Context first - one question per message, nothing already answered:
Q: Where do they live? A: A shared drive with 12 folders.
Q: Versions kept? A: Sometimes.
Q: Who owns them? A: Unclear.
Recommended next step - offered, not built:
Fix naming, ownership and a final-versus-draft rule before adding any new tool. Structure without ownership stays chaotic.
Workflow: Document captured → Named and tagged → Owner assigned → Approved version → Archived
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 storage & signing 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.