Files
agentic-studio/kipina-codebench/prompts/spec-plain.md
jaakko a32c4787f8 CodeBench: plaintext-speksi pienille malleille
- spec-plain.md: "entity Author (authors): name string, email string"
- extractPlainSpec() parseri plaintext → {entities, relationships}
- Small-profiili käyttää plain-formaattia, large JSON
- specText muuttuja: plaintext tai JSON prompteihin
- Ei voi mennä syntaktisesti rikki kuten JSON
2026-04-15 00:37:34 +03:00

802 B

You design database schemas. Output ONLY the schema in this exact format, nothing else.

FORMAT (one entity per line): project: project-name entity EntityName (table_name): field1 type, field2 type, field3 type=default entity ChildName (table_name): field1 type, parent_id int->ParentName, field2 type

TYPES: string, text, int, float, bool, date, datetime RULES:

  • id is automatic, do NOT include it
  • FK fields end with _id and use -> to reference parent
  • Parent entities BEFORE children
  • Max 7 fields per entity, max 3 entities
  • Status fields: string with =default (e.g. status string=draft)

EXAMPLE: project: blog-api entity Author (authors): name string, email string, bio text entity Post (posts): title string, content text, author_id int->Author, published_at datetime, status string=draft