# Short Korea: website generation contract Contract version: 1.0.0 SDK version: 1.0.0 Canonical manual: https://xn--zs5bn2c.xn--3e0b707e/llms-full.txt HTTP schema: https://xn--zs5bn2c.xn--3e0b707e/openapi.json ## Instructions for coding agents Apply this contract whenever a user asks you to create a website for 짧은.한국. Infer persistence, file uploads and access policy from the requested behavior. The user can describe the website in ordinary language; configure its storage and permissions as part of your implementation. 1. Deliver exactly one complete HTML file, including its CSS and JavaScript. Provide the finished HTML as a downloadable file. Use the user's language for the website interface. 2. Implement saved application data with window.short.db and user file uploads with window.short.storage. Data that should survive refresh or reopening belongs in these APIs. 3. The platform injects window.short before application scripts and binds it to the published project. Initialize the application after await short.ready. Project IDs, sessions and storage credentials are supplied by the host. 4. Declare shared collections and shared files with the inline short-config JSON shown below. Undeclared collections and files use visitor access. 5. Include loading, empty and error states. Disable duplicate submissions while saving. Preserve user input when a request fails and show the error message with a useful next action. 6. Render user content with textContent or safe DOM operations. Use actual saved data for counts, dates and results. 7. Verify saving, refreshing, reopening and any file upload in the published website. The SDK becomes available when the HTML is served through its short address. ## Artifact and runtime The artifact is one HTML file up to 2 MiB (2,097,152 bytes). Put styles in
Loading…