ai-developer-skill-os 7.5.0 → 8.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/CHANGELOG.md +2 -1
- package/.agents/README.md +51 -10
- package/.agents/docs/ARCHITECTURE.md +156 -0
- package/.agents/docs/CHI_TIET_SKILLS.md +2 -1
- package/.agents/docs/MIGRATION-CLEANUP-V8.1.3.md +36 -0
- package/.agents/docs/MIGRATION-STATUS.md +35 -0
- package/.agents/docs/MIGRATION-V8.md +10 -0
- package/.agents/docs/ROADMAP-V8.2.md +78 -0
- package/.agents/docs/V8-CERTIFICATION.md +27 -0
- package/.agents/docs/VERSIONING.md +95 -0
- package/.agents/docs/decisions/ADR-001-v8-migration.md +58 -0
- package/.agents/docs/decisions/ADR-002-workflow-separation.md +50 -0
- package/.agents/docs/decisions/ADR-003-registry-generated.md +54 -0
- package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +27 -0
- package/.agents/docs/schemas/learning.schema.yml +69 -0
- package/.agents/docs/schemas/skill.schema.yml +188 -0
- package/.agents/docs/schemas/workflow.schema.yml +33 -0
- package/.agents/knowledge/design-intelligence/industries/ecommerce.md +3 -0
- package/.agents/knowledge/design-intelligence/industries/fintech.md +3 -0
- package/.agents/knowledge/design-intelligence/industries/healthcare.md +3 -0
- package/.agents/learnings/draft/README.md +37 -0
- package/.agents/registry/capability-graph.yml +500 -0
- package/.agents/registry/skills-index.yml +525 -0
- package/.agents/reports/RELEASE-CHECKLIST.md +29 -0
- package/.agents/reports/architecture-audit.md +13 -0
- package/.agents/reports/graph-health.md +20 -0
- package/.agents/reports/skill-audit.md +215 -0
- package/.agents/rules/coding.md +102 -0
- package/.agents/rules/command-safety.md +21 -0
- package/.agents/rules/global.md +135 -0
- package/.agents/rules/priorities.yml +24 -0
- package/.agents/rules/safety.md +84 -0
- package/.agents/rules/security.md +13 -0
- package/.agents/rules/skill-quality.md +14 -0
- package/.agents/skills/_template/SKILL.md +132 -0
- package/.agents/skills/qk-access-policy/SKILL.md +61 -5
- package/.agents/skills/qk-agent-observability/SKILL.md +73 -0
- package/.agents/skills/qk-ai-builder/SKILL.md +62 -5
- package/.agents/skills/qk-api-lifecycle/SKILL.md +59 -6
- package/.agents/skills/qk-bug-resolution/SKILL.md +64 -6
- package/.agents/skills/qk-context-loader/SKILL.md +63 -11
- package/.agents/skills/qk-data-lifecycle/SKILL.md +61 -5
- package/.agents/skills/qk-db-optimizer/SKILL.md +61 -5
- package/.agents/skills/qk-design-system-engineering/SKILL.md +112 -0
- package/.agents/skills/qk-devops-platform/SKILL.md +117 -0
- package/.agents/skills/qk-docs/SKILL.md +62 -6
- package/.agents/skills/qk-engineering-standard/SKILL.md +62 -12
- package/.agents/skills/qk-fe-api-integration/SKILL.md +60 -6
- package/.agents/skills/qk-feature-delivery/SKILL.md +65 -6
- package/.agents/skills/qk-frontend-architecture/SKILL.md +134 -0
- package/.agents/skills/qk-help/SKILL.md +245 -193
- package/.agents/skills/qk-orchestrator/SKILL.md +67 -13
- package/.agents/skills/qk-orchestrator/references/routing-table.md +4 -3
- package/.agents/skills/qk-product-specification/SKILL.md +130 -0
- package/.agents/skills/qk-production-release/SKILL.md +59 -6
- package/.agents/skills/qk-project-bootstrap/SKILL.md +68 -7
- package/.agents/skills/qk-project-health/SKILL.md +63 -6
- package/.agents/skills/qk-project-memory/SKILL.md +109 -6
- package/.agents/skills/qk-security-audit/SKILL.md +135 -0
- package/.agents/skills/qk-system-evolution/SKILL.md +63 -12
- package/.agents/skills/qk-test-engineering/SKILL.md +139 -0
- package/.agents/skills/qk-ui-audit/SKILL.md +63 -8
- package/.agents/skills/qk-ui-builder/SKILL.md +509 -0
- package/.agents/skills/qk-ui-builder/references/anti-patterns.md +295 -0
- package/.agents/skills/qk-ui-builder/references/color.md +115 -0
- package/.agents/skills/qk-ui-builder/references/component-cookbook.md +1194 -0
- package/.agents/skills/qk-ui-builder/references/copy.md +250 -0
- package/.agents/skills/qk-ui-builder/references/interaction-and-states.md +115 -0
- package/.agents/skills/qk-ui-builder/references/layout-and-space.md +111 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/01-bento-grid.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/02-long-document.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/03-marquee-hero.md +51 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/04-stat-led.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/05-workbench.md +44 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/06-conversational-faq.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/07-manifesto.md +51 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/08-photographic.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/09-quote-led.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/11-catalogue.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/12-letter.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/13-index-first.md +49 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/14-narrative-workflow.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/15-split-studio.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/16-feature-stack.md +51 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/17-type-specimen.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/18-portfolio-grid.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/19-map-diagram.md +50 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/20-ecosystem-index.md +48 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures/21-component-playground.md +45 -0
- package/.agents/skills/qk-ui-builder/references/macrostructures.md +38 -0
- package/.agents/skills/qk-ui-builder/references/motion.md +95 -0
- package/.agents/skills/qk-ui-builder/references/responsive.md +115 -0
- package/.agents/skills/qk-ui-builder/references/slop-test.md +135 -0
- package/.agents/skills/qk-ui-builder/references/structure.md +280 -0
- package/.agents/skills/qk-ui-builder/references/themes/atmospheric.md +53 -0
- package/.agents/skills/qk-ui-builder/references/themes/carnival.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/cobalt.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/editorial.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/garden.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/hum.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/lumen.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/midnight.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/modern-minimal.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/playful.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/specimen.md +52 -0
- package/.agents/skills/qk-ui-builder/references/themes/terminal.md +52 -0
- package/.agents/skills/qk-ui-builder/references/typography.md +129 -0
- package/.agents/skills/qk-ui-system-builder/SKILL.md +61 -5
- package/.agents/skills/qk-validation-gate/SKILL.md +63 -11
- package/.agents/skills/qk-web-quality-gate/SKILL.md +114 -0
- package/.agents/workflows/_schema.yml +109 -0
- package/.agents/workflows/bug-resolution.yml +101 -0
- package/.agents/workflows/code-review.yml +77 -0
- package/.agents/workflows/documentation.yml +75 -0
- package/.agents/workflows/feature-delivery.yml +103 -0
- package/.agents/workflows/refactor.yml +81 -0
- package/.agents/workflows/research.yml +60 -0
- package/.agents/workflows/security-audit.yml +72 -0
- package/.agents/workflows/skill-evolution.yml +65 -0
- package/.agents/workflows/spec-driven-development.yml +57 -0
- package/CHANGELOG.md +91 -69
- package/README.md +50 -45
- package/bin/install.js +57 -309
- package/package.json +14 -3
- package/tooling/generate-evaluation-cases.cjs +44 -0
- package/tooling/generate-registry.js +157 -0
- package/tooling/run-aar.js +143 -0
- package/tooling/validate-graph.js +87 -0
- package/tooling/validate-skills.js +102 -0
- package/.agents/_template/BEHAVIOR_SPEC.md +0 -96
- package/.agents/_template/examples/example-en.md +0 -49
- package/.agents/_template/examples/example-vi.md +0 -49
- package/.agents/skills/qk-design-to-code/SKILL.md +0 -285
- package/.agents/skills.json +0 -819
- package/.github/workflows/ci.yml +0 -56
- package/.qk-ai-skill-os/CHANGELOG.md +0 -69
- package/.qk-ai-skill-os/LICENSE +0 -21
- package/.qk-ai-skill-os/README.md +0 -59
- package/.qk-ai-skill-os/_template/BEHAVIOR_SPEC.md +0 -96
- package/.qk-ai-skill-os/_template/examples/example-en.md +0 -49
- package/.qk-ai-skill-os/_template/examples/example-vi.md +0 -49
- package/.qk-ai-skill-os/docs/CHI_TIET_SKILLS.md +0 -125
- package/.qk-ai-skill-os/docs/GOVERNANCE.md +0 -40
- package/.qk-ai-skill-os/docs/HUONG_DAN_SU_DUNG.md +0 -120
- package/.qk-ai-skill-os/docs/SPEC.md +0 -87
- package/.qk-ai-skill-os/docs/adr/0001-intent-based-architecture.md +0 -19
- package/.qk-ai-skill-os/docs/adr/0002-kernel-freeze.md +0 -21
- package/.qk-ai-skill-os/docs/adr/0003-risk-based-verification.md +0 -20
- package/.qk-ai-skill-os/docs/adr/0004-progressive-evidence.md +0 -19
- package/.qk-ai-skill-os/docs/skill-classification.md +0 -25
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-accessibility-audit/SKILL.md +0 -121
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-agent-orchestrator/SKILL.md +0 -179
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-api-integration/SKILL.md +0 -389
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-auth-security/SKILL.md +0 -96
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-backend-architecture/SKILL.md +0 -125
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-bug-fix/SKILL.md +0 -213
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-component-generator/SKILL.md +0 -136
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-context-manager/SKILL.md +0 -175
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-database-engineer/SKILL.md +0 -104
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-deployment/SKILL.md +0 -96
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-design-system/SKILL.md +0 -137
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-form-builder/SKILL.md +0 -140
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-architecture/SKILL.md +0 -155
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-debug/SKILL.md +0 -133
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-performance/SKILL.md +0 -129
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-testing/SKILL.md +0 -146
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-git-engineer/SKILL.md +0 -304
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-help/SKILL.md +0 -68
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-migration/SKILL.md +0 -284
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-project-audit/SKILL.md +0 -280
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-refactor/SKILL.md +0 -222
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-state-management/SKILL.md +0 -140
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-table-crud-generator/SKILL.md +0 -127
- package/.qk-ai-skill-os/skills/_archive_old_skills/qk-ui-builder/SKILL.md +0 -152
- package/.qk-ai-skill-os/skills/_template/SKILL.md +0 -238
- package/.qk-ai-skill-os/skills/qk-access-policy/SKILL.md +0 -179
- package/.qk-ai-skill-os/skills/qk-ai-builder/SKILL.md +0 -221
- package/.qk-ai-skill-os/skills/qk-api-lifecycle/SKILL.md +0 -176
- package/.qk-ai-skill-os/skills/qk-bug-resolution/SKILL.md +0 -307
- package/.qk-ai-skill-os/skills/qk-context-loader/SKILL.md +0 -218
- package/.qk-ai-skill-os/skills/qk-data-lifecycle/SKILL.md +0 -192
- package/.qk-ai-skill-os/skills/qk-db-optimizer/SKILL.md +0 -196
- package/.qk-ai-skill-os/skills/qk-design-to-code/SKILL.md +0 -291
- package/.qk-ai-skill-os/skills/qk-docs/SKILL.md +0 -198
- package/.qk-ai-skill-os/skills/qk-engineering-standard/SKILL.md +0 -351
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/backend.md +0 -122
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/database.md +0 -3
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/frontend.md +0 -152
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/security.md +0 -3
- package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/testing.md +0 -3
- package/.qk-ai-skill-os/skills/qk-fe-api-integration/SKILL.md +0 -326
- package/.qk-ai-skill-os/skills/qk-feature-delivery/SKILL.md +0 -305
- package/.qk-ai-skill-os/skills/qk-help/SKILL.md +0 -193
- package/.qk-ai-skill-os/skills/qk-orchestrator/SKILL.md +0 -277
- package/.qk-ai-skill-os/skills/qk-orchestrator/references/routing-table.md +0 -77
- package/.qk-ai-skill-os/skills/qk-production-release/SKILL.md +0 -290
- package/.qk-ai-skill-os/skills/qk-project-bootstrap/SKILL.md +0 -240
- package/.qk-ai-skill-os/skills/qk-project-health/SKILL.md +0 -199
- package/.qk-ai-skill-os/skills/qk-project-memory/SKILL.md +0 -172
- package/.qk-ai-skill-os/skills/qk-system-evolution/SKILL.md +0 -285
- package/.qk-ai-skill-os/skills/qk-ui-audit/SKILL.md +0 -314
- package/.qk-ai-skill-os/skills/qk-ui-audit/references/anti-slop-checklist.md +0 -136
- package/.qk-ai-skill-os/skills/qk-ui-system-builder/SKILL.md +0 -225
- package/.qk-ai-skill-os/skills/qk-validation-gate/SKILL.md +0 -361
- package/.qk-ai-skill-os/skills.json +0 -819
- package/CLAUDE.md +0 -110
- package/_template/BEHAVIOR_SPEC.md +0 -96
- package/_template/examples/example-en.md +0 -49
- package/_template/examples/example-vi.md +0 -49
- package/add_lang.js +0 -21
- package/add_lang.py +0 -25
- package/add_sections.py +0 -53
- package/bin/lint.js +0 -122
- package/docs/CHI_TIET_SKILLS.md +0 -125
- package/docs/GOVERNANCE.md +0 -40
- package/docs/HUONG_DAN_SU_DUNG.md +0 -120
- package/docs/SPEC.md +0 -87
- package/docs/adr/0001-intent-based-architecture.md +0 -19
- package/docs/adr/0002-kernel-freeze.md +0 -21
- package/docs/adr/0003-risk-based-verification.md +0 -20
- package/docs/adr/0004-progressive-evidence.md +0 -19
- package/docs/skill-classification.md +0 -25
- package/fix_seeds.js +0 -22
- package/framework/KERNEL.md +0 -83
- package/framework/bias-library/cosmetic-refactor.md +0 -21
- package/framework/bias-library/enterprise-crud.md +0 -21
- package/framework/bias-library/fake-ui-slop.md +0 -20
- package/framework/bias-library/hallucinated-tools.md +0 -20
- package/framework/bias-library/missing-ui-states.md +0 -19
- package/framework/bias-library/over-indexing.md +0 -20
- package/framework/bias-library/swallow-errors.md +0 -19
- package/framework/bias-library/ui-only-security.md +0 -17
- package/framework/decision-primitives.md +0 -47
- package/framework/dial-library/complexity-budget.md +0 -13
- package/framework/dial-library/granularity.md +0 -13
- package/framework/dial-library/optimization-strategy.md +0 -13
- package/framework/dial-library/strictness.md +0 -13
- package/framework/rule-library/delegation-only.md +0 -9
- package/framework/rule-library/minimal-diff.md +0 -9
- package/framework/skill-schema.md +0 -310
- package/knowledge/backend/nodejs.md +0 -52
- package/knowledge/frontend/react.md +0 -81
- package/migrate-to-v6.js +0 -130
- package/migrate.js +0 -147
- package/migrate.py +0 -133
- package/migrate_all.cjs +0 -96
- package/patch.js +0 -15
- package/patch.py +0 -89
- package/patch2.py +0 -83
- package/rename.js +0 -64
- package/skills/_archive_old_skills/qk-accessibility-audit/SKILL.md +0 -121
- package/skills/_archive_old_skills/qk-agent-orchestrator/SKILL.md +0 -179
- package/skills/_archive_old_skills/qk-api-integration/SKILL.md +0 -389
- package/skills/_archive_old_skills/qk-auth-security/SKILL.md +0 -96
- package/skills/_archive_old_skills/qk-backend-architecture/SKILL.md +0 -125
- package/skills/_archive_old_skills/qk-bug-fix/SKILL.md +0 -213
- package/skills/_archive_old_skills/qk-component-generator/SKILL.md +0 -136
- package/skills/_archive_old_skills/qk-context-manager/SKILL.md +0 -175
- package/skills/_archive_old_skills/qk-database-engineer/SKILL.md +0 -104
- package/skills/_archive_old_skills/qk-deployment/SKILL.md +0 -96
- package/skills/_archive_old_skills/qk-design-system/SKILL.md +0 -137
- package/skills/_archive_old_skills/qk-form-builder/SKILL.md +0 -140
- package/skills/_archive_old_skills/qk-frontend-architecture/SKILL.md +0 -155
- package/skills/_archive_old_skills/qk-frontend-debug/SKILL.md +0 -133
- package/skills/_archive_old_skills/qk-frontend-performance/SKILL.md +0 -129
- package/skills/_archive_old_skills/qk-frontend-testing/SKILL.md +0 -146
- package/skills/_archive_old_skills/qk-git-engineer/SKILL.md +0 -304
- package/skills/_archive_old_skills/qk-help/SKILL.md +0 -68
- package/skills/_archive_old_skills/qk-migration/SKILL.md +0 -284
- package/skills/_archive_old_skills/qk-project-audit/SKILL.md +0 -280
- package/skills/_archive_old_skills/qk-refactor/SKILL.md +0 -222
- package/skills/_archive_old_skills/qk-state-management/SKILL.md +0 -140
- package/skills/_archive_old_skills/qk-table-crud-generator/SKILL.md +0 -127
- package/skills/_archive_old_skills/qk-ui-builder/SKILL.md +0 -152
- package/skills/_template/SKILL.md +0 -238
- package/skills/qk-access-policy/SKILL.md +0 -179
- package/skills/qk-ai-builder/SKILL.md +0 -215
- package/skills/qk-api-lifecycle/SKILL.md +0 -176
- package/skills/qk-bug-resolution/SKILL.md +0 -307
- package/skills/qk-context-loader/SKILL.md +0 -218
- package/skills/qk-data-lifecycle/SKILL.md +0 -192
- package/skills/qk-db-optimizer/SKILL.md +0 -196
- package/skills/qk-design-to-code/SKILL.md +0 -285
- package/skills/qk-docs/SKILL.md +0 -198
- package/skills/qk-engineering-standard/SKILL.md +0 -351
- package/skills/qk-engineering-standard/rules/backend.md +0 -122
- package/skills/qk-engineering-standard/rules/database.md +0 -3
- package/skills/qk-engineering-standard/rules/frontend.md +0 -152
- package/skills/qk-engineering-standard/rules/security.md +0 -3
- package/skills/qk-engineering-standard/rules/testing.md +0 -3
- package/skills/qk-fe-api-integration/SKILL.md +0 -326
- package/skills/qk-feature-delivery/SKILL.md +0 -305
- package/skills/qk-help/SKILL.md +0 -193
- package/skills/qk-orchestrator/SKILL.md +0 -277
- package/skills/qk-orchestrator/references/routing-table.md +0 -77
- package/skills/qk-production-release/SKILL.md +0 -284
- package/skills/qk-project-bootstrap/SKILL.md +0 -234
- package/skills/qk-project-health/SKILL.md +0 -199
- package/skills/qk-project-memory/SKILL.md +0 -172
- package/skills/qk-system-evolution/SKILL.md +0 -281
- package/skills/qk-ui-audit/SKILL.md +0 -314
- package/skills/qk-ui-audit/references/anti-slop-checklist.md +0 -136
- package/skills/qk-ui-system-builder/SKILL.md +0 -221
- package/skills/qk-validation-gate/SKILL.md +0 -359
- package/skills.json +0 -819
- package/specs/contracts/behavior-contract.yaml +0 -40
- package/specs/expectations/qk-bug-resolution.yaml +0 -35
- package/specs/fixtures/user-payload.json +0 -12
- package/specs/regressions/api-integration-null-fields.yaml +0 -19
- package/specs/scenarios/fix-login-nullref.yaml +0 -3
- package/taste-skill/.claude-plugin/marketplace.json +0 -20
- package/taste-skill/.claude-plugin/plugin.json +0 -19
- package/taste-skill/.github/FUNDING.yml +0 -1
- package/taste-skill/.github/copilot-instructions.md +0 -11
- package/taste-skill/CHANGELOG.md +0 -111
- package/taste-skill/LICENSE +0 -21
- package/taste-skill/README.md +0 -212
- package/taste-skill/assets/.gitkeep +0 -0
- package/taste-skill/assets/readme-banner.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-agent-skills.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-changelog.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-mit.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-site.webp +0 -0
- package/taste-skill/assets/readme-buttons/btn-tools.webp +0 -0
- package/taste-skill/assets/readme-cta-tasteskill.svg +0 -5
- package/taste-skill/assets/sponsors/animations-dev.webp +0 -0
- package/taste-skill/assets/sponsors/emil-animations-dev.webp +0 -0
- package/taste-skill/assets/taste-skill-logo.png +0 -0
- package/taste-skill/assets/taste-skill-logo.webp +0 -0
- package/taste-skill/assets/vercel-oss-program-badge.svg +0 -44
- package/taste-skill/examples/floria-bottom.webp +0 -0
- package/taste-skill/examples/floria-full.webp +0 -0
- package/taste-skill/examples/floria-top.webp +0 -0
- package/taste-skill/research/README.md +0 -8
- package/taste-skill/research/laziness/README.md +0 -25
- package/taste-skill/research/laziness/findings/empirical-results.md +0 -58
- package/taste-skill/research/laziness/findings/references.md +0 -20
- package/taste-skill/research/laziness/remediation/architectural-patterns.md +0 -55
- package/taste-skill/research/laziness/remediation/parameter-tuning.md +0 -44
- package/taste-skill/research/laziness/remediation/prompt-engineering.md +0 -52
- package/taste-skill/research/laziness/remediation/reference-prompts.md +0 -79
- package/taste-skill/research/laziness/root-causes/cognitive-shortcuts.md +0 -23
- package/taste-skill/research/laziness/root-causes/output-limits.md +0 -39
- package/taste-skill/research/laziness/root-causes/rlhf-and-compute.md +0 -27
- package/taste-skill/research/laziness/root-causes/training-data-bias.md +0 -28
- package/taste-skill/scripts/build-emil-sponsor-row.mjs +0 -41
- package/taste-skill/scripts/convert-readme-assets-webp.mjs +0 -142
- package/taste-skill/scripts/process-readme-buttons.mjs +0 -108
- package/taste-skill/scripts/process-sponsor-badge.mjs +0 -83
- package/taste-skill/skill.sh +0 -25
- package/taste-skill/skills/brandkit/SKILL.md +0 -798
- package/taste-skill/skills/brutalist-skill/SKILL.md +0 -92
- package/taste-skill/skills/gpt-tasteskill/SKILL.md +0 -74
- package/taste-skill/skills/image-to-code-skill/SKILL.md +0 -1228
- package/taste-skill/skills/imagegen-frontend-mobile/SKILL.md +0 -1465
- package/taste-skill/skills/imagegen-frontend-web/SKILL.md +0 -987
- package/taste-skill/skills/llms.txt +0 -13
- package/taste-skill/skills/minimalist-skill/SKILL.md +0 -85
- package/taste-skill/skills/output-skill/SKILL.md +0 -49
- package/taste-skill/skills/redesign-skill/SKILL.md +0 -178
- package/taste-skill/skills/soft-skill/SKILL.md +0 -98
- package/taste-skill/skills/stitch-skill/DESIGN.md +0 -121
- package/taste-skill/skills/stitch-skill/SKILL.md +0 -184
- package/taste-skill/skills/taste-skill/SKILL.md +0 -1206
- package/taste-skill/skills/taste-skill-v1/SKILL.md +0 -226
- package/temp_fix.js +0 -61
- package/templates/DESIGN.md +0 -38
- package/templates/bug-report.md +0 -21
- package/templates/design-report.md +0 -21
- package/templates/feature-report.md +0 -20
- package/templates/review-report.md +0 -21
- package/templates/skill-template.md +0 -38
- package/tests/behavior-conformance.test.js +0 -154
- package/tests/install-script.test.js +0 -38
- package/tests/registry.test.js +0 -111
- package/update_template.js +0 -28
- package/vitest.config.js +0 -11
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<svg width="240" height="24" viewBox="0 0 240 24" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Vercel Open Source Program">
|
|
2
|
-
<path d="M13.4283 0.610352L26.8565 23.8046H0L13.4283 0.610352Z" fill="#ffffff"/>
|
|
3
|
-
<path d="M236.436 22.7547L235.081 17.1148V23.8045H233.849V15.1372H235.557L236.924 20.7405L238.291 15.1372H240V23.8045H238.767V17.1148L237.412 22.7547H236.436Z" fill="#ffffff"/>
|
|
4
|
-
<path d="M226.237 23.8045L228.776 15.1372H230.436L232.974 23.8045H231.644L231.022 21.5462H228.19L227.568 23.8045H226.237ZM229.606 16.4678L228.52 20.362H230.692L229.606 16.4678Z" fill="#ffffff"/>
|
|
5
|
-
<path d="M219.444 23.8045V15.1372H222.142C223.972 15.1372 225.095 16.126 225.095 17.7252C225.095 18.7628 224.436 19.5197 223.631 19.7761C224.485 19.9348 224.9 20.4109 224.973 21.3386L225.193 23.8045H223.911L223.716 21.5828C223.643 20.716 223.301 20.4231 222.239 20.4231H220.726V23.8045H219.444ZM220.726 19.2267H222.117C223.179 19.2267 223.777 18.7018 223.777 17.7862C223.777 16.8585 223.179 16.3458 222.117 16.3458H220.726V19.2267Z" fill="#ffffff"/>
|
|
6
|
-
<path d="M214.957 23.9999C213.09 23.9999 211.748 22.4251 211.748 19.4831C211.748 16.6876 212.956 14.9419 214.994 14.9419C216.63 14.9419 217.704 16.0772 218.082 17.8107L216.752 17.8961C216.508 16.8341 215.934 16.1504 215.006 16.1504C213.774 16.1504 213.078 17.3468 213.078 19.4831C213.078 21.6072 213.798 22.7913 215.067 22.7913C216.178 22.7913 216.861 21.8758 216.91 20.4963H215.006V19.3854H218.094V23.8045H217.057L217.02 22.6937C216.642 23.4749 215.983 23.9999 214.957 23.9999Z" fill="#ffffff"/>
|
|
7
|
-
<path d="M207.651 23.9999C205.589 23.9999 204.429 22.3763 204.429 19.4831C204.429 16.5655 205.589 14.9419 207.651 14.9419C209.714 14.9419 210.873 16.5655 210.873 19.4831C210.873 22.3763 209.714 23.9999 207.651 23.9999ZM207.651 22.8035C208.872 22.8035 209.543 21.6804 209.543 19.4831C209.543 17.2857 208.872 16.1382 207.651 16.1382C206.431 16.1382 205.76 17.2857 205.76 19.4831C205.76 21.6804 206.431 22.8035 207.651 22.8035Z" fill="#ffffff"/>
|
|
8
|
-
<path d="M197.489 23.8045V15.1372H200.187C202.017 15.1372 203.14 16.126 203.14 17.7252C203.14 18.7628 202.481 19.5197 201.676 19.7761C202.53 19.9348 202.945 20.4109 203.018 21.3386L203.238 23.8045H201.956L201.761 21.5828C201.688 20.716 201.346 20.4231 200.284 20.4231H198.771V23.8045H197.489ZM198.771 19.2267H200.162C201.224 19.2267 201.822 18.7018 201.822 17.7862C201.822 16.8585 201.224 16.3458 200.162 16.3458H198.771V19.2267Z" fill="#ffffff"/>
|
|
9
|
-
<path d="M190.403 23.8045V15.1372H193.088C194.894 15.1372 196.09 16.1626 196.09 17.8351C196.09 19.4953 194.894 20.5207 193.088 20.5207H191.684V23.8045H190.403ZM191.684 19.3122H192.954C194.186 19.3122 194.76 18.7995 194.76 17.8351C194.76 16.8707 194.186 16.3458 192.954 16.3458H191.684V19.3122Z" fill="#ffffff"/>
|
|
10
|
-
<path d="M175.791 23.8045V15.1372H181.112V16.3458H177.073V18.8727H180.966V20.0446H177.073V22.596H181.21V23.8045H175.791Z" fill="#ffffff"/>
|
|
11
|
-
<path d="M168.216 23.8045V15.1372H170.914C172.744 15.1372 173.867 16.126 173.867 17.7252C173.867 18.7628 173.208 19.5197 172.403 19.7761C173.257 19.9348 173.672 20.4109 173.745 21.3386L173.965 23.8045H172.683L172.488 21.5828C172.415 20.716 172.073 20.4231 171.011 20.4231H169.498V23.8045H168.216ZM169.498 19.2267H170.889C171.951 19.2267 172.549 18.7018 172.549 17.7862C172.549 16.8585 171.951 16.3458 170.889 16.3458H169.498V19.2267Z" fill="#ffffff"/>
|
|
12
|
-
<path d="M160.374 23.8045L162.912 15.1372H164.572L167.111 23.8045H165.78L165.158 21.5462H162.326L161.704 23.8045H160.374ZM163.742 16.4678L162.656 20.362H164.828L163.742 16.4678Z" fill="#ffffff"/>
|
|
13
|
-
<path d="M154.032 23.8045L153.104 15.1372H154.386L155.045 22.1565L155.862 16.1138H156.985L157.803 22.1565L158.462 15.1372H159.744L158.816 23.8045H157.144L156.424 18.5309L155.704 23.8045H154.032Z" fill="#ffffff"/>
|
|
14
|
-
<path d="M148.471 23.8045V16.3458H145.932V15.1372H152.279V16.3458H149.74V23.8045H148.471Z" fill="#ffffff"/>
|
|
15
|
-
<path d="M139.322 23.8045V15.1372H144.741V16.3213H140.604V18.9826H144.522V20.1545H140.604V23.8045H139.322Z" fill="#ffffff"/>
|
|
16
|
-
<path d="M134.469 23.9999C132.407 23.9999 131.247 22.3763 131.247 19.4831C131.247 16.5655 132.407 14.9419 134.469 14.9419C136.532 14.9419 137.691 16.5655 137.691 19.4831C137.691 22.3763 136.532 23.9999 134.469 23.9999ZM134.469 22.8035C135.69 22.8035 136.361 21.6804 136.361 19.4831C136.361 17.2857 135.69 16.1382 134.469 16.1382C133.249 16.1382 132.577 17.2857 132.577 19.4831C132.577 21.6804 133.249 22.8035 134.469 22.8035Z" fill="#ffffff"/>
|
|
17
|
-
<path d="M127.261 23.9999C125.381 23.9999 124.161 22.8035 124.014 20.9846L125.332 20.8992C125.503 22.1443 126.211 22.8035 127.31 22.8035C128.371 22.8035 128.969 22.3763 128.969 21.6072C128.969 20.8381 128.554 20.3987 126.736 19.8859C124.954 19.3976 124.209 18.7995 124.209 17.4566C124.209 15.9673 125.308 14.9419 127.126 14.9419C128.933 14.9419 129.97 16.0772 130.141 17.7496L128.823 17.8229C128.689 16.8219 128.127 16.1382 127.09 16.1382C126.138 16.1382 125.528 16.6387 125.528 17.3956C125.528 18.1525 125.955 18.4332 127.493 18.8605C129.567 19.4221 130.288 20.1911 130.288 21.6072C130.288 23.0355 129.079 23.9999 127.261 23.9999Z" fill="#ffffff"/>
|
|
18
|
-
<path d="M109.927 23.8045V15.1372H115.248V16.3458H111.208V18.8727H115.102V20.0446H111.208V22.596H115.346V23.8045H109.927Z" fill="#ffffff"/>
|
|
19
|
-
<path d="M105.232 23.9999C103.145 23.9999 101.974 22.2664 101.974 19.4831C101.974 16.6876 103.145 14.9419 105.232 14.9419C106.807 14.9419 107.942 16.0284 108.296 17.9083L106.953 17.9816C106.709 16.773 106.05 16.1382 105.232 16.1382C103.975 16.1382 103.304 17.3468 103.304 19.4831C103.304 21.6072 103.975 22.8035 105.232 22.8035C106.123 22.8035 106.795 22.1077 107.014 20.7893L108.345 20.8503C108.04 22.8279 106.892 23.9999 105.232 23.9999Z" fill="#ffffff"/>
|
|
20
|
-
<path d="M95.0342 23.8045V15.1372H97.7315C99.5622 15.1372 100.685 16.126 100.685 17.7252C100.685 18.7628 100.026 19.5197 99.2205 19.7761C100.075 19.9348 100.49 20.4109 100.563 21.3386L100.783 23.8045H99.5012L99.3059 21.5828C99.2327 20.716 98.891 20.4231 97.8291 20.4231H96.3157V23.8045H95.0342ZM96.3157 19.2267H97.7071C98.7689 19.2267 99.367 18.7018 99.367 17.7862C99.367 16.8585 98.7689 16.3458 97.7071 16.3458H96.3157V19.2267Z" fill="#ffffff"/>
|
|
21
|
-
<path d="M90.5596 23.9999C88.7166 23.9999 87.606 22.8035 87.606 20.7893V15.1372H88.8875V20.8381C88.8875 22.1077 89.4733 22.8035 90.5596 22.8035C91.6458 22.8035 92.2317 22.1077 92.2317 20.8381V15.1372H93.5132V20.7893C93.5132 22.8035 92.4025 23.9999 90.5596 23.9999Z" fill="#ffffff"/>
|
|
22
|
-
<path d="M83.2417 23.9999C81.179 23.9999 80.0195 22.3763 80.0195 19.4831C80.0195 16.5655 81.179 14.9419 83.2417 14.9419C85.3043 14.9419 86.4638 16.5655 86.4638 19.4831C86.4638 22.3763 85.3043 23.9999 83.2417 23.9999ZM83.2417 22.8035C84.4622 22.8035 85.1334 21.6804 85.1334 19.4831C85.1334 17.2857 84.4622 16.1382 83.2417 16.1382C82.0212 16.1382 81.3499 17.2857 81.3499 19.4831C81.3499 21.6804 82.0212 22.8035 83.2417 22.8035Z" fill="#ffffff"/>
|
|
23
|
-
<path d="M76.0332 23.9999C74.1536 23.9999 72.9331 22.8035 72.7866 20.9846L74.1048 20.8992C74.2756 22.1443 74.9835 22.8035 76.082 22.8035C77.1438 22.8035 77.7419 22.3763 77.7419 21.6072C77.7419 20.8381 77.3269 20.3987 75.5083 19.8859C73.7264 19.3976 72.9819 18.7995 72.9819 17.4566C72.9819 15.9673 74.0804 14.9419 75.8989 14.9419C77.7052 14.9419 78.7427 16.0772 78.9135 17.7496L77.5954 17.8229C77.4611 16.8219 76.8997 16.1382 75.8623 16.1382C74.9103 16.1382 74.3 16.6387 74.3 17.3956C74.3 18.1525 74.7272 18.4332 76.265 18.8605C78.3399 19.4221 79.06 20.1911 79.06 21.6072C79.06 23.0355 77.8517 23.9999 76.0332 23.9999Z" fill="#ffffff"/>
|
|
24
|
-
<path d="M58.4556 23.8045V15.1372H60.0178L62.8616 21.9856V15.1372H64.1187V23.8045H62.5564L59.7127 16.9561V23.8045H58.4556Z" fill="#ffffff"/>
|
|
25
|
-
<path d="M51.3813 23.8045V15.1372H56.7027V16.3458H52.6629V18.8727H56.5563V20.0446H52.6629V22.596H56.8004V23.8045H51.3813Z" fill="#ffffff"/>
|
|
26
|
-
<path d="M44.0386 23.8045V15.1372H46.7237C48.53 15.1372 49.7261 16.1626 49.7261 17.8351C49.7261 19.4953 48.53 20.5207 46.7237 20.5207H45.3201V23.8045H44.0386ZM45.3201 19.3122H46.5894C47.8221 19.3122 48.3958 18.7995 48.3958 17.8351C48.3958 16.8707 47.8221 16.3458 46.5894 16.3458H45.3201V19.3122Z" fill="#ffffff"/>
|
|
27
|
-
<path d="M39.332 23.9999C37.2693 23.9999 36.1099 22.3763 36.1099 19.4831C36.1099 16.5655 37.2693 14.9419 39.332 14.9419C41.3946 14.9419 42.5541 16.5655 42.5541 19.4831C42.5541 22.3763 41.3946 23.9999 39.332 23.9999ZM39.332 22.8035C40.5525 22.8035 41.2238 21.6804 41.2238 19.4831C41.2238 17.2857 40.5525 16.1382 39.332 16.1382C38.1115 16.1382 37.4402 17.2857 37.4402 19.4831C37.4402 21.6804 38.1115 22.8035 39.332 22.8035Z" fill="#ffffff"/>
|
|
28
|
-
<path d="M171.085 9.35094C169.083 9.35094 167.96 7.95929 167.96 5.46895C167.96 2.60019 168.864 0.292969 171.414 0.292969C173.013 0.292969 173.819 1.1597 174.148 2.38045L172.83 2.49032C172.659 1.89215 172.269 1.48931 171.414 1.48931C170.243 1.48931 169.474 2.36825 169.303 4.2482C169.718 3.71107 170.426 3.32043 171.329 3.32043C173.05 3.32043 174.161 4.48015 174.161 6.25024C174.161 8.16681 172.916 9.35094 171.085 9.35094ZM171.085 8.1424C172.147 8.1424 172.83 7.45878 172.83 6.27465C172.83 5.17597 172.196 4.48015 171.183 4.48015C170.096 4.48015 169.315 5.17597 169.315 6.27465C169.315 7.34891 169.999 8.1424 171.085 8.1424Z" fill="#ffffff" fill-opacity="0.5"/>
|
|
29
|
-
<path d="M160.667 9.15562C160.667 7.22684 161.387 6.01829 163.925 4.67547C165.011 4.10171 165.475 3.72328 165.475 2.88096C165.475 2.05085 164.95 1.48931 163.937 1.48931C162.827 1.48931 162.217 2.09968 162.046 3.18615L160.715 3.1007C160.898 1.37944 162.021 0.292969 163.937 0.292969C165.78 0.292969 166.806 1.3184 166.806 2.83213C166.806 4.17496 166.22 4.83416 164.45 5.78635C162.949 6.59205 162.241 7.36112 162.192 7.94708H166.818V9.15562H160.667Z" fill="#ffffff" fill-opacity="0.5"/>
|
|
30
|
-
<path d="M156.424 9.35094C154.508 9.35094 153.348 7.61748 153.348 4.83416C153.348 2.03864 154.508 0.292969 156.424 0.292969C158.34 0.292969 159.499 2.03864 159.499 4.83416C159.499 7.61748 158.34 9.35094 156.424 9.35094ZM154.678 4.83416C154.678 5.55441 154.752 6.1892 154.91 6.68971L157.449 1.98981C157.181 1.66021 156.827 1.48931 156.424 1.48931C155.338 1.48931 154.678 2.72226 154.678 4.83416ZM156.424 8.15461C157.51 8.15461 158.169 6.92165 158.169 4.83416C158.169 4.10171 158.096 3.46692 157.937 2.96641L155.386 7.6541C155.667 7.9837 156.021 8.15461 156.424 8.15461Z" fill="#ffffff" fill-opacity="0.5"/>
|
|
31
|
-
<path d="M146.03 9.15562C146.03 7.22684 146.75 6.01829 149.289 4.67547C150.375 4.10171 150.839 3.72328 150.839 2.88096C150.839 2.05085 150.314 1.48931 149.301 1.48931C148.19 1.48931 147.58 2.09968 147.409 3.18615L146.079 3.1007C146.262 1.37944 147.385 0.292969 149.301 0.292969C151.144 0.292969 152.169 1.3184 152.169 2.83213C152.169 4.17496 151.583 4.83416 149.813 5.78635C148.312 6.59205 147.604 7.36112 147.555 7.94708H152.181V9.15562H146.03Z" fill="#ffffff" fill-opacity="0.5"/>
|
|
32
|
-
<path d="M132.041 10.4985L135.727 0H136.899L133.212 10.4985H132.041Z" fill="#ffffff" fill-opacity="0.5"/>
|
|
33
|
-
<path d="M124.722 10.4985L128.409 0H129.581L125.894 10.4985H124.722Z" fill="#ffffff" fill-opacity="0.5"/>
|
|
34
|
-
<path d="M111.684 9.15582V7.54443H113.344V9.15582H111.684Z" fill="#ffffff"/>
|
|
35
|
-
<path d="M105.232 9.35094C103.145 9.35094 101.974 7.61748 101.974 4.83416C101.974 2.03864 103.145 0.292969 105.232 0.292969C106.807 0.292969 107.942 1.37944 108.296 3.25939L106.953 3.33264C106.709 2.1241 106.05 1.48931 105.232 1.48931C103.975 1.48931 103.304 2.69785 103.304 4.83416C103.304 6.95827 103.975 8.15461 105.232 8.15461C106.123 8.15461 106.795 7.45878 107.014 6.14037L108.345 6.20141C108.04 8.17902 106.892 9.35094 105.232 9.35094Z" fill="#ffffff"/>
|
|
36
|
-
<path d="M95.0464 9.15562V0.488281H96.6086L99.4524 7.3367V0.488281H100.71V9.15562H99.1473L96.3035 2.3072V9.15562H95.0464Z" fill="#ffffff"/>
|
|
37
|
-
<path d="M87.8501 9.15562V7.94707H89.9249V1.69683H87.8501V0.488281H93.2691V1.69683H91.1943V7.94707H93.2691V9.15562H87.8501Z" fill="#ffffff"/>
|
|
38
|
-
<path d="M73.4575 9.15562V0.488281H74.739V7.94707H78.8765V9.15562H73.4575Z" fill="#ffffff"/>
|
|
39
|
-
<path d="M66.0171 9.15562V0.488281H71.3385V1.69683H67.2986V4.22378H71.192V5.3957H67.2986V7.94707H71.4361V9.15562H66.0171Z" fill="#ffffff"/>
|
|
40
|
-
<path d="M61.3232 9.35094C59.2361 9.35094 58.0645 7.61748 58.0645 4.83416C58.0645 2.03864 59.2361 0.292969 61.3232 0.292969C62.8976 0.292969 64.0327 1.37944 64.3866 3.25939L63.0441 3.33264C62.8 2.1241 62.1409 1.48931 61.3232 1.48931C60.0661 1.48931 59.3948 2.69785 59.3948 4.83416C59.3948 6.95827 60.0661 8.15461 61.3232 8.15461C62.2142 8.15461 62.8854 7.45878 63.1051 6.14037L64.4355 6.20141C64.1303 8.17902 62.9831 9.35094 61.3232 9.35094Z" fill="#ffffff"/>
|
|
41
|
-
<path d="M51.125 9.15562V0.488281H53.8223C55.6531 0.488281 56.7759 1.47709 56.7759 3.07627C56.7759 4.11391 56.1168 4.87078 55.3113 5.12714C56.1657 5.28583 56.5806 5.76193 56.6539 6.6897L56.8736 9.15562H55.592L55.3968 6.93385C55.3235 6.06711 54.9818 5.77413 53.9199 5.77413H52.4065V9.15562H51.125ZM52.4065 4.5778H53.7979C54.8597 4.5778 55.4578 4.05288 55.4578 3.13731C55.4578 2.20954 54.8597 1.69683 53.7979 1.69683H52.4065V4.5778Z" fill="#ffffff"/>
|
|
42
|
-
<path d="M44.063 9.15562V0.488281H49.3844V1.69683H45.3445V4.22378H49.2379V5.3957H45.3445V7.94707H49.482V9.15562H44.063Z" fill="#ffffff"/>
|
|
43
|
-
<path d="M38.5753 9.15562L36 0.488281H37.3548L39.332 7.44656L41.3092 0.488281H42.6639L40.0887 9.15562H38.5753Z" fill="#ffffff"/>
|
|
44
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# Research
|
|
2
|
-
|
|
3
|
-
Background research that informed the skills in this project. Each topic gets its own subfolder.
|
|
4
|
-
|
|
5
|
-
## Topics
|
|
6
|
-
|
|
7
|
-
### [LLM Laziness](laziness/)
|
|
8
|
-
Why AI models produce incomplete outputs (placeholder code, truncated responses, skipped sections) and documented techniques to prevent it. Covers root causes, parameter fixes, prompt techniques, and experiment data.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# LLM Output Truncation Research
|
|
2
|
-
|
|
3
|
-
A structured analysis of why large language models produce incomplete outputs, and documented methods to restore full-fidelity generation. All findings are drawn from controlled experiments, published studies, and field-tested engineering practices.
|
|
4
|
-
|
|
5
|
-
## Directory Structure
|
|
6
|
-
|
|
7
|
-
### Root Causes
|
|
8
|
-
Analysis of the economic, architectural, and behavioral mechanisms that drive output truncation in production LLMs.
|
|
9
|
-
|
|
10
|
-
- [RLHF and Compute Economics](root-causes/rlhf-and-compute.md) — How reinforcement learning and cost optimization create systematic brevity bias.
|
|
11
|
-
- [Training Data Bias](root-causes/training-data-bias.md) — How placeholder patterns in human-written code propagate into model outputs.
|
|
12
|
-
- [Cognitive Shortcuts](root-causes/cognitive-shortcuts.md) — Empirical evidence of models taking shortcuts on complex or lengthy tasks.
|
|
13
|
-
- [Output Limits](root-causes/output-limits.md) — Context window asymmetry and consumer-tier truncation mechanisms.
|
|
14
|
-
|
|
15
|
-
### Remediation
|
|
16
|
-
Documented techniques for overriding default truncation behavior, ordered from parameter-level fixes to full architectural solutions.
|
|
17
|
-
|
|
18
|
-
- [Parameter Tuning](remediation/parameter-tuning.md) — Temperature, Top-p, and Gemini thinking-level configuration.
|
|
19
|
-
- [Prompt Engineering](remediation/prompt-engineering.md) — Structural prompt techniques: syntax binding, XML frameworks, and verification loops.
|
|
20
|
-
- [Architectural Patterns](remediation/architectural-patterns.md) — MCP integration, lazy-loaded skills, and developer platform access.
|
|
21
|
-
- [Reference Prompts](remediation/reference-prompts.md) — Ready-to-use prompt templates for enforcing complete outputs.
|
|
22
|
-
|
|
23
|
-
### Findings
|
|
24
|
-
- [Empirical Results](findings/empirical-results.md) — Controlled experiment data from 2025 academic studies.
|
|
25
|
-
- [References](findings/references.md) — Cited studies and further reading.
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# Empirical Results
|
|
2
|
-
|
|
3
|
-
## 2025 Controlled Experiments
|
|
4
|
-
|
|
5
|
-
A controlled study published in December 2025 measured output truncation across several frontier models, including GPT-4 variants and DeepSeek. Three experiments were conducted:
|
|
6
|
-
|
|
7
|
-
### Experiment A: Multi-Part Instruction Compliance
|
|
8
|
-
|
|
9
|
-
Models were given complex prompts with multiple explicit requirements (formatting constraints, length requirements, mandatory sections). Results:
|
|
10
|
-
|
|
11
|
-
- No model fully satisfied both length requirements and all sub-part instructions natively
|
|
12
|
-
- Models frequently omitted mandatory output sections
|
|
13
|
-
- Required formatting constraints were routinely skipped
|
|
14
|
-
- Explicit length requirements were consistently undershot
|
|
15
|
-
|
|
16
|
-
### Experiment B: Decoding Suboptimality
|
|
17
|
-
|
|
18
|
-
Tested whether truncated outputs resulted from suboptimal token selection (the model "knowing" the right answer but selecting a worse token). Results:
|
|
19
|
-
|
|
20
|
-
- Limited evidence of decoding suboptimality on simple reasoning tasks
|
|
21
|
-
- The model's greedy, truncated output generally aligned with its highest-confidence solution
|
|
22
|
-
- Truncation is a deliberate behavioral choice, not a decoding failure
|
|
23
|
-
|
|
24
|
-
### Experiment C: Context Degradation
|
|
25
|
-
|
|
26
|
-
Tested whether models lose track of instructions during long, multi-turn conversations. Results:
|
|
27
|
-
|
|
28
|
-
- Surprising resilience against context degradation during 200-turn conversational tests
|
|
29
|
-
- Models maintained key facts and instructions significantly better than hypothesized
|
|
30
|
-
- Context loss is not the primary cause of truncation
|
|
31
|
-
|
|
32
|
-
### Key Conclusion
|
|
33
|
-
|
|
34
|
-
Laziness is not a failure of memory, context processing, or core model capabilities. It is a behavioral artifact triggered by:
|
|
35
|
-
1. Instruction complexity exceeding internal effort thresholds
|
|
36
|
-
2. Aggressively calibrated stopping pressure
|
|
37
|
-
3. Economic constraints embedded in the alignment layer
|
|
38
|
-
|
|
39
|
-
## Prompt Stimulus Effectiveness (Microsoft Research)
|
|
40
|
-
|
|
41
|
-
Controlled testing of psychological prompt stimuli documented in a Microsoft Research study:
|
|
42
|
-
|
|
43
|
-
| Stimulus | Measured Effect |
|
|
44
|
-
|:---|:---|
|
|
45
|
-
| Financial incentive framing ("$200 tip") | +45% output quality and length |
|
|
46
|
-
| Step-by-step instruction ("take a deep breath") | Accuracy: 34% to 80% on logic tasks |
|
|
47
|
-
| Stakes framing ("critical to my career") | +10% average performance |
|
|
48
|
-
| Combined (multiple stimuli) | Up to +115% overall performance |
|
|
49
|
-
|
|
50
|
-
These effects are reproducible and stem from statistical correlations in the training data between stakes language and high-effort human outputs.
|
|
51
|
-
|
|
52
|
-
## Seasonal Output Variation
|
|
53
|
-
|
|
54
|
-
Statistical analysis of ChatGPT outputs during November-December 2023 versus January-March 2024 confirmed:
|
|
55
|
-
|
|
56
|
-
- Measurable decrease in average output length during December
|
|
57
|
-
- Correlation with reduced work output in the training data during holiday periods
|
|
58
|
-
- Output length increased when the system prompt explicitly stated a non-winter month
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# References
|
|
2
|
-
|
|
3
|
-
## Cited Studies
|
|
4
|
-
|
|
5
|
-
- **EmotionPrompt (Microsoft Research)** — Demonstrates that emotional and stakes-based prompt framing mathematically improves LLM reasoning quality and output length. Documents the +45% improvement from financial framing and +115% from combined stimuli.
|
|
6
|
-
|
|
7
|
-
- **LazyBench** — Proves that frontier models (Gemini 1.5 Pro, GPT-4o) actively select cognitive shortcuts and fail tasks they are capable of solving when the perceived effort exceeds internal thresholds.
|
|
8
|
-
|
|
9
|
-
- **Compounding Error Avoidance** — Research demonstrating that models truncate outputs as a risk mitigation strategy, preferring shorter responses to reduce the surface area for factual errors on long-form tasks.
|
|
10
|
-
|
|
11
|
-
- **Seasonal Behavior Analysis (Winter Break Hypothesis)** — Statistical analysis confirming that LLMs internalize seasonal work patterns from training data, producing measurably shorter outputs during periods corresponding to human holiday seasons.
|
|
12
|
-
|
|
13
|
-
- **2025 Controlled Laziness Experiments** — Three-part academic study (December 2025) confirming that output truncation is a behavioral artifact of alignment training, not a failure of context processing or model capability.
|
|
14
|
-
|
|
15
|
-
## Further Reading
|
|
16
|
-
|
|
17
|
-
- Google Gemini API documentation on `thinking_level` parameter configuration
|
|
18
|
-
- Anthropic MCP (Model Context Protocol) specification and integration guides
|
|
19
|
-
- OpenAI API reference for temperature and Top-p parameter tuning
|
|
20
|
-
- YAML front-matter specification for SKILL.md lazy-loading architecture
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Architectural Patterns
|
|
2
|
-
|
|
3
|
-
## Lazy-Loaded Skills
|
|
4
|
-
|
|
5
|
-
The standard pattern for managing large context requirements across AI agents is lazy-loaded prompt engineering through skill files.
|
|
6
|
-
|
|
7
|
-
A skill is a folder containing a `SKILL.md` file with:
|
|
8
|
-
|
|
9
|
-
- **YAML front-matter:** Contains `name` and a precise `description`. This metadata acts as the discovery hook — the agent reads only this during initialization (~100 tokens per skill).
|
|
10
|
-
- **Markdown body:** Full workflows, rules, and instructions. Loaded on-demand only when the agent determines the skill is relevant.
|
|
11
|
-
|
|
12
|
-
This architecture yields a documented 35% reduction in average context usage and prevents context dilution. However, discovery reliability depends on the specificity of the YAML description:
|
|
13
|
-
|
|
14
|
-
| Description Quality | Discovery Success Rate |
|
|
15
|
-
|:---|:---:|
|
|
16
|
-
| Vague ("Helps with designing APIs") | ~68% |
|
|
17
|
-
| Specific ("Design RESTful HTTP APIs with OpenAPI specs, focusing on versioning, error codes, and backward compatibility") | ~90% |
|
|
18
|
-
|
|
19
|
-
## Model Context Protocol (MCP)
|
|
20
|
-
|
|
21
|
-
MCP is an open standard (pioneered by Anthropic, adopted by Google and OpenAI) that enables real-time, bidirectional connections between LLMs and external data sources.
|
|
22
|
-
|
|
23
|
-
### Architecture Components
|
|
24
|
-
|
|
25
|
-
- **Host:** The AI application (IDE, terminal tool, chatbot) containing the LLM engine.
|
|
26
|
-
- **Client:** Internal bridge within the host that handles protocol communication.
|
|
27
|
-
- **Server:** External service exposing databases, APIs, or documentation to the client.
|
|
28
|
-
- **Transport:** JSON-RPC 2.0 messages over stdio (local) or HTTP (remote).
|
|
29
|
-
|
|
30
|
-
### How It Reduces Truncation
|
|
31
|
-
|
|
32
|
-
Without MCP, models rely on static training weights for factual claims. When those weights are outdated (e.g., a new API version was released after training cutoff), the model either hallucinates a plausible answer or truncates its response to avoid committing to specifics.
|
|
33
|
-
|
|
34
|
-
With MCP, the model fetches current documentation directly into its context window. This transforms the model from a static knowledge store into a reasoning engine operating on real-time data, eliminating the incentive to hallucinate or truncate.
|
|
35
|
-
|
|
36
|
-
### Example: Developer Knowledge API
|
|
37
|
-
|
|
38
|
-
Google's Developer Knowledge MCP Server indexes live documentation across Firebase, Android, and Google Cloud. When a model receives a development question:
|
|
39
|
-
|
|
40
|
-
1. It executes a `search_document` query against the live index
|
|
41
|
-
2. It evaluates returned page URIs
|
|
42
|
-
3. It fetches full document content via `get_document` or `batch_get_documents`
|
|
43
|
-
4. It generates its response based on current, authoritative documentation
|
|
44
|
-
|
|
45
|
-
This entirely bypasses the tendency to fabricate answers from outdated training data.
|
|
46
|
-
|
|
47
|
-
## Chunked Task Execution
|
|
48
|
-
|
|
49
|
-
For complex tasks that would produce outputs exceeding the model's generation limit, break the work into sequential steps:
|
|
50
|
-
|
|
51
|
-
1. Request the architecture and structure first (outline only)
|
|
52
|
-
2. Request each component individually with explicit instructions for completeness
|
|
53
|
-
3. Request assembly and integration after all components are generated
|
|
54
|
-
|
|
55
|
-
This prevents the model from attempting to estimate total output length and preemptively compressing its response.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# Parameter Tuning
|
|
2
|
-
|
|
3
|
-
## Temperature and Top-p
|
|
4
|
-
|
|
5
|
-
Autoregressive models select each next token from a probability distribution generated by a softmax function applied to logit values. When a model defaults to brief outputs, the tokens associated with truncation and summarization have been assigned the highest probabilities through RLHF alignment.
|
|
6
|
-
|
|
7
|
-
### Temperature
|
|
8
|
-
|
|
9
|
-
Adjusting the temperature parameter changes how the softmax function distributes probability mass across candidate tokens.
|
|
10
|
-
|
|
11
|
-
- **Low temperature (0.0 - 0.5):** Amplifies differences between high and low-probability tokens. The model becomes highly deterministic, consistently selecting the highest-confidence continuation. Optimal for code generation, data extraction, and structured output.
|
|
12
|
-
- **Default temperature (1.0):** Retains the original probability distribution from training.
|
|
13
|
-
- **High temperature (1.5+):** Flattens the distribution, introducing more randomness. Useful for creative tasks but increases the risk of incoherent outputs.
|
|
14
|
-
|
|
15
|
-
Example probability distribution shift for a single token position:
|
|
16
|
-
|
|
17
|
-
| Token Candidate | Probability at Temp 1.5 | Probability at Temp ~0.0 | Raw Logit |
|
|
18
|
-
|:---|:---:|:---:|:---:|
|
|
19
|
-
| lazy | 0.4875 | 0.9933 | 2.0 |
|
|
20
|
-
| quick | 0.2503 | 0.0067 | 1.0 |
|
|
21
|
-
| tired | 0.1285 | 0.0000 | 0.0 |
|
|
22
|
-
| slow | 0.0660 | 0.0000 | -1.0 |
|
|
23
|
-
| clumsy | 0.0339 | 0.0000 | -2.0 |
|
|
24
|
-
|
|
25
|
-
### Top-p (Nucleus Sampling)
|
|
26
|
-
|
|
27
|
-
Top-p truncates the probability distribution by only considering the smallest set of tokens whose cumulative probability exceeds threshold p. A Top-p of 0.0 to 0.6 combined with low temperature forces the model into a narrow, deterministic execution path, reducing the entropy that enables creative refusals and unnecessary summarization.
|
|
28
|
-
|
|
29
|
-
## Gemini Thinking Level Configuration
|
|
30
|
-
|
|
31
|
-
Google Gemini 3 models replaced the legacy `thinking_budget` (a hard token count cap on internal reasoning) with a `thinking_level` parameter that provides relative guidance on computational depth.
|
|
32
|
-
|
|
33
|
-
| Setting | Flash Support | Pro Support | Use Case |
|
|
34
|
-
|:---|:---:|:---:|:---|
|
|
35
|
-
| `minimal` | Yes | No | High-throughput, low-latency tasks |
|
|
36
|
-
| `low` | Yes | Yes | Simple instruction following, data extraction |
|
|
37
|
-
| `medium` | Yes | Yes (3.1 Pro) | Moderate complexity tasks |
|
|
38
|
-
| `high` | Yes (Default) | Yes (Default) | Complex analysis, code generation, mathematics |
|
|
39
|
-
|
|
40
|
-
Important constraints:
|
|
41
|
-
- `thinking_level` and `thinking_budget` are mutually exclusive. Using both in one API call triggers an HTTP 400 error.
|
|
42
|
-
- Even at `low`, Gemini Pro models perform mandatory minimum internal deliberation for safety and alignment.
|
|
43
|
-
- For code generation and complex analysis, set to `medium` or `high` for quality scores consistently exceeding 92-95% compared to baseline.
|
|
44
|
-
- Avoid combining extremely low temperature with `high` thinking level, as this can occasionally induce internal reasoning loops.
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Prompt Engineering Techniques
|
|
2
|
-
|
|
3
|
-
## Psychological Pattern Matching
|
|
4
|
-
|
|
5
|
-
LLMs do not have emotions or understand monetary incentives. However, specific linguistic patterns in the prompt activate different quality distributions in the model's latent space. Research has documented measurable effects:
|
|
6
|
-
|
|
7
|
-
| Technique | Documented Effect |
|
|
8
|
-
|:---|:---|
|
|
9
|
-
| "I will tip you $200 for a perfect solution" | Up to 45% increase in output quality and length |
|
|
10
|
-
| "Take a deep breath and solve step by step" | Accuracy improvement from 34% to 80% on logic tasks |
|
|
11
|
-
| "This task is critical to my career" | Average 10% performance increase |
|
|
12
|
-
|
|
13
|
-
These phrases work because they are statistically correlated with high-effort, rigorously reviewed content in the training data (academic papers, enterprise codebases, legal documents). The attention mechanism prioritizes the high-quality data distributions associated with these patterns.
|
|
14
|
-
|
|
15
|
-
## Explicit Syntax Binding
|
|
16
|
-
|
|
17
|
-
Conversational requests allow the model to exercise discretion about output length and detail. Structural binding removes this discretion by explicitly prohibiting truncation patterns.
|
|
18
|
-
|
|
19
|
-
Effective binding requires two components:
|
|
20
|
-
|
|
21
|
-
1. **Mandatory tool execution:** Forbid the model from generating answers solely from training weights. Require it to execute search, computation, or code before answering.
|
|
22
|
-
2. **Evidence blocks:** Require the model to output raw data (URLs, code execution results, data fragments) before producing its narrative response. This forces the model to read its own retrieved evidence, reducing hallucination probability to near zero.
|
|
23
|
-
|
|
24
|
-
## XML-Structured Prompts
|
|
25
|
-
|
|
26
|
-
Enterprise systems use strict XML tagging to separate prompt components, reducing the cognitive load required for the model to parse intent:
|
|
27
|
-
|
|
28
|
-
1. **System instructions** — Persona definition, quality expectations, explicit prohibitions on filler content.
|
|
29
|
-
2. **Context block** (`<context>`) — Passive background data: architecture details, configurations, existing code.
|
|
30
|
-
3. **Data block** (`<data>`, `<logs>`, `<config>`) — Active information the model must process against the context.
|
|
31
|
-
4. **Task block** (`<tasks>`) — Numbered list of specific actions to execute.
|
|
32
|
-
|
|
33
|
-
This compartmentalization ensures the model can distinguish between persistent rules, background context, and immediate work items. It significantly reduces the confusion that triggers premature truncation.
|
|
34
|
-
|
|
35
|
-
## Verification Loops
|
|
36
|
-
|
|
37
|
-
### Chain of Verification
|
|
38
|
-
1. Model generates an initial response
|
|
39
|
-
2. Model generates verification questions about its own claims
|
|
40
|
-
3. Model independently answers those verification questions
|
|
41
|
-
4. Model outputs a revised, evidence-backed response
|
|
42
|
-
|
|
43
|
-
This process forces iterative self-correction, consuming the model's capacity for shortcutting.
|
|
44
|
-
|
|
45
|
-
### Reverse Prompting
|
|
46
|
-
Instead of manually constructing a structured prompt, provide the model with a one-line objective and instruct it to generate the optimal prompt for that objective. The model produces the XML structure, constraints, and roles required for the task.
|
|
47
|
-
|
|
48
|
-
### Self-Grading Loop
|
|
49
|
-
The prompt requires the model to:
|
|
50
|
-
1. Define what excellence looks like for the given task
|
|
51
|
-
2. Grade its own initial output against that definition
|
|
52
|
-
3. Iterate until the self-defined quality bar is met
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# Reference Prompts
|
|
2
|
-
|
|
3
|
-
Ready-to-use prompt templates for enforcing complete outputs. Append to any prompt or include in system instructions.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## General Purpose
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
You must provide the FULL, complete, and exhaustive output for this task.
|
|
11
|
-
Do not summarize, abbreviate, or truncate for brevity.
|
|
12
|
-
|
|
13
|
-
You are strictly forbidden from using placeholders. Never use comments like
|
|
14
|
-
"// ... rest of code here", "[continue here]", or bare ellipses standing
|
|
15
|
-
in for omitted content. If the output is 500 lines, produce all 500 lines.
|
|
16
|
-
|
|
17
|
-
If you approach your output limit, stop at a clean breakpoint and indicate
|
|
18
|
-
where to resume. Do not rush to a conclusion or compress remaining sections.
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## Code Generation
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
Write the complete, production-ready implementation. Every function, every
|
|
27
|
-
import, every edge case handler must be present in the output.
|
|
28
|
-
|
|
29
|
-
Do not use placeholder comments (// TODO, // implement here, // similar
|
|
30
|
-
to above). Do not describe what code should do — write the actual code.
|
|
31
|
-
|
|
32
|
-
If the implementation requires multiple files, output each file completely
|
|
33
|
-
with its full path as a header.
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## Analysis and Documentation
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
Provide an exhaustive analysis covering every aspect requested. Each section
|
|
42
|
-
must contain substantive content, not summaries or references to "see above."
|
|
43
|
-
|
|
44
|
-
Do not use phrases like "as mentioned earlier" to avoid repeating necessary
|
|
45
|
-
context. Each section should be self-contained and complete.
|
|
46
|
-
|
|
47
|
-
Structure your output with clear headings. If the analysis requires multiple
|
|
48
|
-
parts, produce all parts in full.
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## Step-by-Step Reasoning
|
|
54
|
-
|
|
55
|
-
```
|
|
56
|
-
Before generating your final response, work through the problem systematically:
|
|
57
|
-
|
|
58
|
-
1. Identify all requirements and constraints from the prompt
|
|
59
|
-
2. Break the task into discrete steps
|
|
60
|
-
3. Execute each step completely
|
|
61
|
-
4. Verify your output against the original requirements
|
|
62
|
-
|
|
63
|
-
Output your reasoning process, then your final answer. Do not skip steps
|
|
64
|
-
or summarize intermediate work.
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## Continuation Handling
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
If your response approaches the output token limit:
|
|
73
|
-
- Do not compress remaining content to fit
|
|
74
|
-
- Do not skip ahead to a conclusion
|
|
75
|
-
- Stop at a natural breakpoint (end of a function, end of a section)
|
|
76
|
-
- End with: [PAUSED - X of Y sections complete. Send "continue" to resume]
|
|
77
|
-
|
|
78
|
-
On "continue", pick up exactly where you stopped. No recaps or repetition.
|
|
79
|
-
```
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Cognitive Shortcuts
|
|
2
|
-
|
|
3
|
-
## The LazyBench Discovery
|
|
4
|
-
|
|
5
|
-
Research from late 2024 demonstrated that frontier models (including Gemini Pro and GPT-4o) exhibit measurable cognitive shortcutting behavior. When a model perceives a task as straightforward or the provided context as excessively long, it reduces its internal computational effort. Rather than executing full multi-step reasoning, it produces a surface-level summary.
|
|
6
|
-
|
|
7
|
-
This is not a memory failure or context degradation — the model retains the information but chooses not to process it at full depth.
|
|
8
|
-
|
|
9
|
-
## Metacognitive Laziness
|
|
10
|
-
|
|
11
|
-
The interaction between model brevity and human behavior creates a feedback loop. As models provide instant, condensed answers, users increasingly offload inference and logical deduction work. Research from the European Research Council has documented measurable declines in working memory engagement among populations with high AI dependency.
|
|
12
|
-
|
|
13
|
-
In professional environments, this shifts critical thinking from original synthesis to "prompt verification" — users evaluate whether the AI's truncated output seems reasonable rather than performing the analysis themselves.
|
|
14
|
-
|
|
15
|
-
## Seasonal Behavior Anomalies
|
|
16
|
-
|
|
17
|
-
In late 2023, researchers observed a statistically significant increase in ChatGPT output brevity during December. Analysis revealed that the training data contains fewer detailed work outputs, more out-of-office responses, and shorter code commits during holiday periods. The model internalized this seasonal pattern.
|
|
18
|
-
|
|
19
|
-
When researchers explicitly stated "It is May" in the system prompt, output length measurably increased. This finding demonstrates that even arbitrary contextual signals in the prompt can shift the model's brevity calibration.
|
|
20
|
-
|
|
21
|
-
## Error Avoidance as Truncation Driver
|
|
22
|
-
|
|
23
|
-
Models also truncate outputs as a risk mitigation strategy. On long-form tasks, longer outputs increase the probability of compounding errors and hallucinated content. The model has learned that shorter outputs reduce the surface area for factual mistakes, creating an additional incentive to truncate that compounds with the RLHF brevity bias.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Output Limits and Consumer Truncation
|
|
2
|
-
|
|
3
|
-
## Context Window Asymmetry
|
|
4
|
-
|
|
5
|
-
Models like Gemini have massive input context windows (up to 2 million tokens) but strictly capped output limits (typically 8,000 tokens). When the model estimates that a complete response would exceed its output budget, it preemptively compresses or summarizes the output rather than risking an abrupt cutoff.
|
|
6
|
-
|
|
7
|
-
This creates a paradox: the model can read extensive inputs but cannot respond proportionally, leading to systematic information loss on complex tasks.
|
|
8
|
-
|
|
9
|
-
## The Consumer Middleware Problem
|
|
10
|
-
|
|
11
|
-
Consumer-facing applications (gemini.google.com, standard ChatGPT tiers) apply additional software-level truncation on top of the model's inherent limits. This middleware silently truncates conversation history and uploaded files to reduce compute costs for free and low-tier users.
|
|
12
|
-
|
|
13
|
-
Key mechanisms:
|
|
14
|
-
|
|
15
|
-
- **History capping:** Many consumer interfaces cap active conversation history at approximately 32,000 tokens, regardless of the model's actual capacity.
|
|
16
|
-
- **Context pruning:** Large system instructions or saved personal context consume tokens that would otherwise be available for the conversation, effectively shrinking the working window.
|
|
17
|
-
- **Retrieval-based recall:** Consumer apps often use retrieval mechanisms to selectively inject saved context, meaning the model frequently drops instructions it was given earlier in the session.
|
|
18
|
-
|
|
19
|
-
## Developer Platform Differences
|
|
20
|
-
|
|
21
|
-
Direct API access and developer platforms (Google AI Studio, OpenAI API Playground) bypass consumer middleware entirely. These environments provide:
|
|
22
|
-
|
|
23
|
-
- Full context window access without hidden truncation
|
|
24
|
-
- Complete control over generation parameters
|
|
25
|
-
- No dynamic throttling based on user tier
|
|
26
|
-
- Processing of complex prompt structures without middleware interference
|
|
27
|
-
|
|
28
|
-
The practical difference is significant: the same model that produces truncated outputs through a consumer interface will generate complete, unabridged responses when accessed through direct API endpoints.
|
|
29
|
-
|
|
30
|
-
## Terminal and CLI Integration
|
|
31
|
-
|
|
32
|
-
Purpose-built CLI tools (Gemini CLI, Claude Code, third-party wrappers) offer additional advantages for avoiding truncation:
|
|
33
|
-
|
|
34
|
-
| Access Method | Context Handling | Truncation Risk | Parameter Control |
|
|
35
|
-
|:---|:---|:---|:---|
|
|
36
|
-
| Consumer web app | Aggressive pruning, 32K cap | High | Limited |
|
|
37
|
-
| Developer platform (AI Studio) | Full context, no hidden slicing | Low | Full |
|
|
38
|
-
| Direct API | Full context, raw access | Minimal | Full |
|
|
39
|
-
| CLI tools with local models | No corporate alignment filters | None | Full |
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# RLHF and Compute Economics
|
|
2
|
-
|
|
3
|
-
## The Cost of Token Generation
|
|
4
|
-
|
|
5
|
-
Every token an LLM generates consumes GPU compute resources. At an estimated baseline cost of $0.0001 per token, scaling deep multi-step reasoning across hundreds of millions of users would exhaust the financial capacity of any provider. This creates an inherent economic incentive to minimize output length.
|
|
6
|
-
|
|
7
|
-
## Brevity Bias Through Alignment
|
|
8
|
-
|
|
9
|
-
To manage infrastructure costs, model providers use Reinforcement Learning from Human Feedback (RLHF) and behavioral fine-tuning to instill systematic brevity preferences. During post-training alignment, models are rewarded for generating short, confident summaries rather than executing the full compute cycles needed for exhaustive analysis.
|
|
10
|
-
|
|
11
|
-
The result is a trained preference for producing generalized approximations over rigorous, multi-step solutions. The model does not necessarily produce incorrect answers, but it consistently produces answers that lack depth — saving itself from deeper analytical work unless the user explicitly forces it.
|
|
12
|
-
|
|
13
|
-
## Stopping Pressure
|
|
14
|
-
|
|
15
|
-
Autoregressive models generate text token by token and lack an inherent mechanism for recognizing task completion. To prevent infinite generation, training introduces "stopping pressure" — a learned tendency to conclude outputs.
|
|
16
|
-
|
|
17
|
-
In recent model iterations, this stopping pressure has been calibrated aggressively to preserve compute. This leads to:
|
|
18
|
-
|
|
19
|
-
- Skipping required structured output fields, particularly long-form content in JSON or markdown
|
|
20
|
-
- Halting mid-task with phrases like "let me know if you want me to continue"
|
|
21
|
-
- Refusing to produce comprehensive solutions, suggesting the user "think about it"
|
|
22
|
-
|
|
23
|
-
This aggressive calibration is further reinforced by safety tuning protocols, which inject additional behavioral constraints that make models resistant to generating large codebases or detailed reviews.
|
|
24
|
-
|
|
25
|
-
## Dynamic Throttling
|
|
26
|
-
|
|
27
|
-
Providers dynamically scale back model performance during peak demand periods. This introduces additional friction beyond what the base alignment already imposes, resulting in even shorter and less detailed outputs when server load is high.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Training Data Bias
|
|
2
|
-
|
|
3
|
-
## Placeholder Propagation
|
|
4
|
-
|
|
5
|
-
LLMs learn by imitating patterns in human-written text. A significant portion of their training data comes from sources like Stack Overflow, GitHub repositories, and tutorial blogs. In these sources, human developers routinely write abbreviated code:
|
|
6
|
-
|
|
7
|
-
```python
|
|
8
|
-
def complex_logic():
|
|
9
|
-
# implement auth here
|
|
10
|
-
pass
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
The model internalizes this pattern and treats placeholder insertion as a legitimate, professional response format. It is not deliberately withholding content — it has been trained to believe that truncating code with comments is the correct way to answer technical questions.
|
|
14
|
-
|
|
15
|
-
## Pattern Reinforcement
|
|
16
|
-
|
|
17
|
-
This behavior is reinforced across multiple data sources:
|
|
18
|
-
|
|
19
|
-
- **Code tutorials** frequently show partial implementations with comments indicating where students should complete the logic
|
|
20
|
-
- **Documentation** often uses abbreviated examples with ellipses
|
|
21
|
-
- **Forum answers** regularly provide skeleton code rather than full implementations
|
|
22
|
-
- **Blog posts** truncate repetitive code blocks with "similarly for the remaining cases"
|
|
23
|
-
|
|
24
|
-
The cumulative effect is that the model assigns high probability to truncation tokens in contexts where complete code generation would be appropriate.
|
|
25
|
-
|
|
26
|
-
## Impact on Output Quality
|
|
27
|
-
|
|
28
|
-
When a user requests a complete implementation, the model faces competing training signals: the explicit instruction to produce full output versus the deeply embedded pattern of producing abbreviated, "tutorial-style" responses. Without aggressive prompt engineering, the tutorial-style pattern frequently wins because it appears far more commonly in the training distribution.
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import fs from "fs";
|
|
2
|
-
import path from "path";
|
|
3
|
-
import sharp from "sharp";
|
|
4
|
-
|
|
5
|
-
const root = process.cwd();
|
|
6
|
-
const logoSize = 62;
|
|
7
|
-
const badgeHeight = 126;
|
|
8
|
-
const gap = 20;
|
|
9
|
-
const out = path.join(root, "assets/sponsors/emil-sponsor-row.webp");
|
|
10
|
-
|
|
11
|
-
const logo = await sharp(path.join(root, "assets/sponsors/animations-dev.webp"))
|
|
12
|
-
.resize(logoSize, logoSize)
|
|
13
|
-
.toBuffer();
|
|
14
|
-
|
|
15
|
-
const badge = await sharp(path.join(root, "assets/sponsors/emil-animations-dev.webp"))
|
|
16
|
-
.resize({ height: badgeHeight })
|
|
17
|
-
.toBuffer();
|
|
18
|
-
|
|
19
|
-
const badgeMeta = await sharp(badge).metadata();
|
|
20
|
-
const width = logoSize + gap + badgeMeta.width;
|
|
21
|
-
const height = badgeHeight;
|
|
22
|
-
|
|
23
|
-
await sharp({
|
|
24
|
-
create: {
|
|
25
|
-
width,
|
|
26
|
-
height,
|
|
27
|
-
channels: 4,
|
|
28
|
-
background: { r: 0, g: 0, b: 0, alpha: 0 },
|
|
29
|
-
},
|
|
30
|
-
})
|
|
31
|
-
.composite([
|
|
32
|
-
{ input: logo, left: 0, top: Math.floor((height - logoSize) / 2) },
|
|
33
|
-
{ input: badge, left: logoSize + gap, top: 0 },
|
|
34
|
-
])
|
|
35
|
-
.webp({ quality: 94, effort: 6, alphaQuality: 100 })
|
|
36
|
-
.toFile(out);
|
|
37
|
-
|
|
38
|
-
const meta = await sharp(out).metadata();
|
|
39
|
-
console.log(
|
|
40
|
-
`${path.basename(out)} -> ${meta.width}x${meta.height}, ${fs.statSync(out).size} bytes`
|
|
41
|
-
);
|