conversations
listlengths
2
2
metadata
dict
id
stringlengths
36
36
[ { "from": "human", "value": "Write a guide for setting up a local development environment for a Node.js + PostgreSQL application. The application uses Docker Compose for local services, environment variables from `.env`, npm for dependencies, and Prisma for database migrations." }, { "from": "gpt", ...
{ "doc_type": "setup_guide", "domain": "developer_onboarding", "audience": "developers" }
fec2533f-d167-485b-929f-171b4e4509f5
[ { "from": "human", "value": "Write a deprecation notice for an API endpoint that will be removed in 6 months. The endpoint is `GET /v1/users/{id}/activity` and it's being replaced by `GET /v2/activity?user_id={id}` which has more filtering options." }, { "from": "gpt", "value": "## Deprecation N...
{ "doc_type": "deprecation_notice", "domain": "api_documentation", "audience": "developers" }
1b45fac7-c854-4416-abd7-5653174e0d23
[ { "from": "human", "value": "Write a postmortem document template with guidance for each section. The template should be usable for software incident postmortems and encourage blameless culture." }, { "from": "gpt", "value": "# Incident Post-Mortem\n\n> **Blameless principle:** This document foc...
{ "doc_type": "template", "domain": "engineering_process", "audience": "engineering_teams" }
7d760e38-d17b-42ef-844d-236cde4cec58
[ { "from": "human", "value": "Write a technical blog post introduction and structure for an article titled 'Why Your LLM Application Is Slower Than It Needs to Be'. The post should be aimed at engineers building production LLM apps and cover 5 common performance mistakes." }, { "from": "gpt", "va...
{ "doc_type": "blog_post", "domain": "engineering_content", "audience": "engineers" }
bdd9877b-9c18-4419-bc3f-97f8b23259fd
[ { "from": "human", "value": "Write a technical spec for a feature: adding rate limiting to our internal microservices API gateway. The spec should cover: problem statement, proposed solution (token bucket algorithm), configuration options, failure behavior, monitoring, and rollout plan." }, { "from"...
{ "doc_type": "technical_spec", "domain": "infrastructure", "audience": "engineers" }
0d3b4f3c-e3c3-4580-8c28-bed4bc1fefc3
[ { "from": "human", "value": "Write clear error messages for a form validation library. The library needs error messages for: required field empty, email format invalid, password too short (min 8 chars), password missing uppercase, passwords don't match, phone number format invalid, credit card number invali...
{ "doc_type": "style_guide", "domain": "ux_writing", "audience": "product_teams" }
723472bc-b847-40a0-8159-ff1bf2a88a94
[ { "from": "human", "value": "Write a data dictionary for a PostgreSQL table called `orders` used in an e-commerce platform. The table has columns: id, customer_id, status, subtotal, tax_amount, total, currency, payment_method, shipping_address (JSONB), created_at, updated_at, fulfilled_at, cancelled_at." ...
{ "doc_type": "data_dictionary", "domain": "database_documentation", "audience": "developers" }
89edb1b7-fe40-48aa-8ed9-2a8ef68c67b6
[ { "from": "human", "value": "Write a security review checklist for code review. The checklist should cover: input validation, authentication/authorization, sensitive data handling, SQL injection, XSS, and dependency security." }, { "from": "gpt", "value": "# Security Code Review Checklist\n\nUse...
{ "doc_type": "checklist", "domain": "security", "audience": "developers" }
dc6cd742-19ce-4d76-a023-b24f5e622c8b
[ { "from": "human", "value": "Write a `CONTRIBUTING.md` for an open source Python project. The project uses GitHub for issues and PRs, pytest for tests, pre-commit hooks for linting (ruff + mypy), and conventional commits for commit messages." }, { "from": "gpt", "value": "# Contributing\n\nThank...
{ "doc_type": "contributing_guide", "domain": "open_source", "audience": "open_source_contributors" }
18b0dfb8-1e0f-4336-a7c8-249f80620b2e
[ { "from": "human", "value": "Write a runbook for responding to high database CPU alerts. The database is PostgreSQL running on RDS. The runbook should include immediate actions, diagnostic steps, and escalation criteria." }, { "from": "gpt", "value": "# Runbook: High Database CPU Alert\n\n**Aler...
{ "doc_type": "runbook", "domain": "infrastructure", "audience": "on_call_engineers" }
c9171d5d-3261-4dec-bcc1-b02e365ee196
[ { "from": "human", "value": "Write a README for a Python library called `vectorstore` that provides a simple interface for storing and searching embeddings. The library supports SQLite and Postgres backends, has a simple API (add, search, delete), and is aimed at developers building RAG applications." }, ...
{ "doc_type": "readme", "domain": "developer_library", "audience": "developers" }
b4026973-9715-4440-850a-d9103e9618a3
[ { "from": "human", "value": "Write a technical spec for a feature: adding rate limiting to our internal microservices API gateway. The spec should cover: problem statement, proposed solution (token bucket algorithm), configuration options, failure behavior, monitoring, and rollout plan." }, { "from"...
{ "doc_type": "technical_spec", "domain": "infrastructure", "audience": "engineers" }
84ee945f-85ad-4dae-860a-1633bf7e1389
[ { "from": "human", "value": "Write a migration guide for developers upgrading from v1 to v2 of an authentication SDK. The breaking changes are: (1) `auth.login()` now returns a Promise instead of using callbacks, (2) the `user` object now has `user.profile.email` instead of `user.email`, (3) the `logout()` ...
{ "doc_type": "migration_guide", "domain": "sdk_documentation", "audience": "developers" }
a79ca7f9-194b-45c5-a439-045d9672c6ca
[ { "from": "human", "value": "Write a migration guide for developers upgrading from v1 to v2 of an authentication SDK. The breaking changes are: (1) `auth.login()` now returns a Promise instead of using callbacks, (2) the `user` object now has `user.profile.email` instead of `user.email`, (3) the `logout()` ...
{ "doc_type": "migration_guide", "domain": "sdk_documentation", "audience": "developers" }
a804381b-38ea-459a-95ee-b7f944be7e4f
[ { "from": "human", "value": "Write a security review checklist for code review. The checklist should cover: input validation, authentication/authorization, sensitive data handling, SQL injection, XSS, and dependency security." }, { "from": "gpt", "value": "# Security Code Review Checklist\n\nUse...
{ "doc_type": "checklist", "domain": "security", "audience": "developers" }
7136b5d8-6bdf-4705-8fd3-796cf40c038d
[ { "from": "human", "value": "Write a CHANGELOG entry for a version 2.4.0 release of a REST API called PaymentsAPI. New features: support for ACH bank transfers, idempotency keys on all write endpoints, new `/v2/payouts` endpoint. Breaking changes: removed the deprecated `/v1/charges` endpoint. Bug fixes: fi...
{ "doc_type": "changelog", "domain": "api_product", "audience": "developers" }
13fc56bf-4da0-4b6c-9d51-91d819f0cfad
[ { "from": "human", "value": "Write a decision document (architecture decision record) for choosing between REST and GraphQL for a new public API. The context: building a platform API for third-party developers, the team has REST experience, clients will be mobile apps and web dashboards." }, { "from...
{ "doc_type": "architecture_decision_record", "domain": "engineering_process", "audience": "engineers" }
bd5122d2-dcfd-42c4-b70f-ede9c1c4c602
[ { "from": "human", "value": "Write API documentation for a `POST /v1/webhooks` endpoint. The endpoint creates a webhook subscription. Request body fields: `url` (required, string, the HTTPS endpoint to deliver events to), `events` (required, array of strings, list of event types to subscribe to), `secret` (...
{ "doc_type": "api_reference", "domain": "api_documentation", "audience": "developers" }
117ca548-a5ea-49ce-ad16-240d64de21d6
[ { "from": "human", "value": "Write a README for a Python library called `vectorstore` that provides a simple interface for storing and searching embeddings. The library supports SQLite and Postgres backends, has a simple API (add, search, delete), and is aimed at developers building RAG applications." }, ...
{ "doc_type": "readme", "domain": "developer_library", "audience": "developers" }
b095430e-5c6a-45e3-84b9-abd9525792e7
[ { "from": "human", "value": "Write the docstring for a Python function `calculate_compound_interest(principal, rate, periods, compounds_per_period=1)` that calculates compound interest. The function should have a comprehensive Google-style docstring with Args, Returns, Raises, and an Example section." }, ...
{ "doc_type": "docstring", "domain": "python_documentation", "audience": "developers" }
b5315c51-13a2-4c7c-9d0f-d0b4d5ee9588
[ { "from": "human", "value": "Write a `CONTRIBUTING.md` for an open source Python project. The project uses GitHub for issues and PRs, pytest for tests, pre-commit hooks for linting (ruff + mypy), and conventional commits for commit messages." }, { "from": "gpt", "value": "# Contributing\n\nThank...
{ "doc_type": "contributing_guide", "domain": "open_source", "audience": "open_source_contributors" }
315c05df-f225-46e2-9925-4ab77cbe3599
[ { "from": "human", "value": "Write a system design document overview section for a URL shortening service. The document should describe the scope, scale requirements, high-level architecture, and key design decisions." }, { "from": "gpt", "value": "# URL Shortening Service — System Design\n\n## ...
{ "doc_type": "system_design", "domain": "architecture", "audience": "engineers" }
3bcf17f5-7615-4cf4-8035-dfef830b1406
[ { "from": "human", "value": "Write a technical spec for a feature: adding rate limiting to our internal microservices API gateway. The spec should cover: problem statement, proposed solution (token bucket algorithm), configuration options, failure behavior, monitoring, and rollout plan." }, { "from"...
{ "doc_type": "technical_spec", "domain": "infrastructure", "audience": "engineers" }
16558fe3-2bc4-447e-a723-e271a00f4057
[ { "from": "human", "value": "Write a system design document overview section for a URL shortening service. The document should describe the scope, scale requirements, high-level architecture, and key design decisions." }, { "from": "gpt", "value": "# URL Shortening Service — System Design\n\n## ...
{ "doc_type": "system_design", "domain": "architecture", "audience": "engineers" }
32081cf4-71a3-486a-860f-a3a64b3605b7
[ { "from": "human", "value": "Write clear error messages for a form validation library. The library needs error messages for: required field empty, email format invalid, password too short (min 8 chars), password missing uppercase, passwords don't match, phone number format invalid, credit card number invali...
{ "doc_type": "style_guide", "domain": "ux_writing", "audience": "product_teams" }
2ebdf1bf-8b92-4063-b49e-07733ff88e7b
[ { "from": "human", "value": "Write API documentation for a `POST /v1/webhooks` endpoint. The endpoint creates a webhook subscription. Request body fields: `url` (required, string, the HTTPS endpoint to deliver events to), `events` (required, array of strings, list of event types to subscribe to), `secret` (...
{ "doc_type": "api_reference", "domain": "api_documentation", "audience": "developers" }
d6098580-246f-42c0-abec-d6cfe516dccf
[ { "from": "human", "value": "Write a guide for setting up a local development environment for a Node.js + PostgreSQL application. The application uses Docker Compose for local services, environment variables from `.env`, npm for dependencies, and Prisma for database migrations." }, { "from": "gpt", ...
{ "doc_type": "setup_guide", "domain": "developer_onboarding", "audience": "developers" }
aa3ef2cb-8403-436c-aa74-2c7906adfd0d
[ { "from": "human", "value": "Write a style guide section for API error responses. The guide should establish conventions for error response format, HTTP status code usage, error codes, and human-readable messages. Aimed at backend developers building internal and external APIs." }, { "from": "gpt", ...
{ "doc_type": "style_guide", "domain": "api_design", "audience": "developers" }
38899899-d2cc-4801-81e7-ea73e7668241
[ { "from": "human", "value": "Write API documentation for a `POST /v1/webhooks` endpoint. The endpoint creates a webhook subscription. Request body fields: `url` (required, string, the HTTPS endpoint to deliver events to), `events` (required, array of strings, list of event types to subscribe to), `secret` (...
{ "doc_type": "api_reference", "domain": "api_documentation", "audience": "developers" }
e0110d12-fc6c-4cee-a19a-d34443d3e7ee
[ { "from": "human", "value": "Write a guide for setting up a local development environment for a Node.js + PostgreSQL application. The application uses Docker Compose for local services, environment variables from `.env`, npm for dependencies, and Prisma for database migrations." }, { "from": "gpt", ...
{ "doc_type": "setup_guide", "domain": "developer_onboarding", "audience": "developers" }
c9311e1e-6d3c-490f-8ba3-f2b98070331c
[ { "from": "human", "value": "Write a data dictionary for a PostgreSQL table called `orders` used in an e-commerce platform. The table has columns: id, customer_id, status, subtotal, tax_amount, total, currency, payment_method, shipping_address (JSONB), created_at, updated_at, fulfilled_at, cancelled_at." ...
{ "doc_type": "data_dictionary", "domain": "database_documentation", "audience": "developers" }
2807e2ca-1625-4743-a99b-52ecdb68e502
[ { "from": "human", "value": "Write a security review checklist for code review. The checklist should cover: input validation, authentication/authorization, sensitive data handling, SQL injection, XSS, and dependency security." }, { "from": "gpt", "value": "# Security Code Review Checklist\n\nUse...
{ "doc_type": "checklist", "domain": "security", "audience": "developers" }
8c07690b-8e5e-4a5b-b126-81966dc86d3e
[ { "from": "human", "value": "Write a style guide section for API error responses. The guide should establish conventions for error response format, HTTP status code usage, error codes, and human-readable messages. Aimed at backend developers building internal and external APIs." }, { "from": "gpt", ...
{ "doc_type": "style_guide", "domain": "api_design", "audience": "developers" }
37cdb216-b21a-4c77-8d74-47991e3c382d
[ { "from": "human", "value": "Write a deprecation notice for an API endpoint that will be removed in 6 months. The endpoint is `GET /v1/users/{id}/activity` and it's being replaced by `GET /v2/activity?user_id={id}` which has more filtering options." }, { "from": "gpt", "value": "## Deprecation N...
{ "doc_type": "deprecation_notice", "domain": "api_documentation", "audience": "developers" }
f57d9664-f6dd-4d7e-8017-1d83f5b939f5
[ { "from": "human", "value": "Write a deprecation notice for an API endpoint that will be removed in 6 months. The endpoint is `GET /v1/users/{id}/activity` and it's being replaced by `GET /v2/activity?user_id={id}` which has more filtering options." }, { "from": "gpt", "value": "## Deprecation N...
{ "doc_type": "deprecation_notice", "domain": "api_documentation", "audience": "developers" }
21549d1c-d35c-47b9-9f7b-e576c2d31d32
[ { "from": "human", "value": "Write a user story and acceptance criteria for a feature: users should be able to export their data in CSV format from the admin dashboard. The feature should support filtering by date range and selecting which data types to export (users, orders, products)." }, { "from"...
{ "doc_type": "user_story", "domain": "product_documentation", "audience": "product_engineering" }
c48f09de-43d7-4260-9bb0-d4ce1d31edb5
[ { "from": "human", "value": "Write a technical blog post introduction and structure for an article titled 'Why Your LLM Application Is Slower Than It Needs to Be'. The post should be aimed at engineers building production LLM apps and cover 5 common performance mistakes." }, { "from": "gpt", "va...
{ "doc_type": "blog_post", "domain": "engineering_content", "audience": "engineers" }
d0e6edb4-c798-4605-a665-e4338aeb017f
[ { "from": "human", "value": "Write a CHANGELOG entry for a version 2.4.0 release of a REST API called PaymentsAPI. New features: support for ACH bank transfers, idempotency keys on all write endpoints, new `/v2/payouts` endpoint. Breaking changes: removed the deprecated `/v1/charges` endpoint. Bug fixes: fi...
{ "doc_type": "changelog", "domain": "api_product", "audience": "developers" }
02da4125-c561-4013-84b0-5046dc0ae673
[ { "from": "human", "value": "Write a runbook for responding to high database CPU alerts. The database is PostgreSQL running on RDS. The runbook should include immediate actions, diagnostic steps, and escalation criteria." }, { "from": "gpt", "value": "# Runbook: High Database CPU Alert\n\n**Aler...
{ "doc_type": "runbook", "domain": "infrastructure", "audience": "on_call_engineers" }
aaff898c-46ab-4b12-b7d4-6a482bdbb56d
[ { "from": "human", "value": "Write the docstring for a Python function `calculate_compound_interest(principal, rate, periods, compounds_per_period=1)` that calculates compound interest. The function should have a comprehensive Google-style docstring with Args, Returns, Raises, and an Example section." }, ...
{ "doc_type": "docstring", "domain": "python_documentation", "audience": "developers" }
e0230660-ac7c-4148-beda-5b238eb4efea
[ { "from": "human", "value": "Write a README for a Python library called `vectorstore` that provides a simple interface for storing and searching embeddings. The library supports SQLite and Postgres backends, has a simple API (add, search, delete), and is aimed at developers building RAG applications." }, ...
{ "doc_type": "readme", "domain": "developer_library", "audience": "developers" }
79cb1e21-340b-49d6-b2cc-edf2c128996a
[ { "from": "human", "value": "Write a decision document (architecture decision record) for choosing between REST and GraphQL for a new public API. The context: building a platform API for third-party developers, the team has REST experience, clients will be mobile apps and web dashboards." }, { "from...
{ "doc_type": "architecture_decision_record", "domain": "engineering_process", "audience": "engineers" }
0bbceabc-e9b0-4b6c-ab72-46c35e547a33
[ { "from": "human", "value": "Write a `CONTRIBUTING.md` for an open source Python project. The project uses GitHub for issues and PRs, pytest for tests, pre-commit hooks for linting (ruff + mypy), and conventional commits for commit messages." }, { "from": "gpt", "value": "# Contributing\n\nThank...
{ "doc_type": "contributing_guide", "domain": "open_source", "audience": "open_source_contributors" }
09d510e6-4f20-4d11-8e3b-2c864847c141
[ { "from": "human", "value": "Write a product requirements document (PRD) for a feature: real-time notifications for a project management app. Users should get notified when: they're mentioned in a comment, a task assigned to them is updated, a task's deadline is approaching (24h warning)." }, { "fro...
{ "doc_type": "product_requirements", "domain": "product_documentation", "audience": "product_engineering" }
ad925be6-abaa-4fea-8425-57eb6105578f
[ { "from": "human", "value": "Write a security review checklist for code review. The checklist should cover: input validation, authentication/authorization, sensitive data handling, SQL injection, XSS, and dependency security." }, { "from": "gpt", "value": "# Security Code Review Checklist\n\nUse...
{ "doc_type": "checklist", "domain": "security", "audience": "developers" }
dc8ca364-8411-4788-8645-35311fdec5cf
[ { "from": "human", "value": "Write a technical spec for a feature: adding rate limiting to our internal microservices API gateway. The spec should cover: problem statement, proposed solution (token bucket algorithm), configuration options, failure behavior, monitoring, and rollout plan." }, { "from"...
{ "doc_type": "technical_spec", "domain": "infrastructure", "audience": "engineers" }
b91b72e6-dab2-4dc4-9d8f-06c49fac3679
[ { "from": "human", "value": "Write a concise onboarding document for new engineers joining a data platform team. Cover: what the team owns, key systems they'll interact with, how to get access, the first week agenda, and where to ask questions." }, { "from": "gpt", "value": "# Data Platform Team...
{ "doc_type": "onboarding_guide", "domain": "team_documentation", "audience": "new_engineers" }
1a3c7b53-24ed-4a9d-b539-340a5259d5c2
[ { "from": "human", "value": "Write a postmortem document template with guidance for each section. The template should be usable for software incident postmortems and encourage blameless culture." }, { "from": "gpt", "value": "# Incident Post-Mortem\n\n> **Blameless principle:** This document foc...
{ "doc_type": "template", "domain": "engineering_process", "audience": "engineering_teams" }
d02fa213-46fc-4f7d-ad4d-8ea00d659767
[ { "from": "human", "value": "Write a user story and acceptance criteria for a feature: users should be able to export their data in CSV format from the admin dashboard. The feature should support filtering by date range and selecting which data types to export (users, orders, products)." }, { "from"...
{ "doc_type": "user_story", "domain": "product_documentation", "audience": "product_engineering" }
eaea1901-f095-4a24-86b4-555d5475e98c
[ { "from": "human", "value": "Write a deprecation notice for an API endpoint that will be removed in 6 months. The endpoint is `GET /v1/users/{id}/activity` and it's being replaced by `GET /v2/activity?user_id={id}` which has more filtering options." }, { "from": "gpt", "value": "## Deprecation N...
{ "doc_type": "deprecation_notice", "domain": "api_documentation", "audience": "developers" }
d66278fd-4f08-41e1-9b4a-0f4f04afb888
[ { "from": "human", "value": "Write a security review checklist for code review. The checklist should cover: input validation, authentication/authorization, sensitive data handling, SQL injection, XSS, and dependency security." }, { "from": "gpt", "value": "# Security Code Review Checklist\n\nUse...
{ "doc_type": "checklist", "domain": "security", "audience": "developers" }
7b9d8db1-e2ea-4f69-8683-4caba8f1c6d3
[ { "from": "human", "value": "Write a deprecation notice for an API endpoint that will be removed in 6 months. The endpoint is `GET /v1/users/{id}/activity` and it's being replaced by `GET /v2/activity?user_id={id}` which has more filtering options." }, { "from": "gpt", "value": "## Deprecation N...
{ "doc_type": "deprecation_notice", "domain": "api_documentation", "audience": "developers" }
f979e26d-8990-4903-9333-36dbbf33e8f6
[ { "from": "human", "value": "Write API documentation for a `POST /v1/webhooks` endpoint. The endpoint creates a webhook subscription. Request body fields: `url` (required, string, the HTTPS endpoint to deliver events to), `events` (required, array of strings, list of event types to subscribe to), `secret` (...
{ "doc_type": "api_reference", "domain": "api_documentation", "audience": "developers" }
a8c9d181-760a-4115-8fed-ea5115dc8cfa
[ { "from": "human", "value": "Write a security review checklist for code review. The checklist should cover: input validation, authentication/authorization, sensitive data handling, SQL injection, XSS, and dependency security." }, { "from": "gpt", "value": "# Security Code Review Checklist\n\nUse...
{ "doc_type": "checklist", "domain": "security", "audience": "developers" }
c9b5fc28-a5a8-4d14-9483-28845fa53e68
[ { "from": "human", "value": "Write a runbook for responding to high database CPU alerts. The database is PostgreSQL running on RDS. The runbook should include immediate actions, diagnostic steps, and escalation criteria." }, { "from": "gpt", "value": "# Runbook: High Database CPU Alert\n\n**Aler...
{ "doc_type": "runbook", "domain": "infrastructure", "audience": "on_call_engineers" }
2ea6f660-e96a-4b94-812b-8731771d55cf
[ { "from": "human", "value": "Write a product requirements document (PRD) for a feature: real-time notifications for a project management app. Users should get notified when: they're mentioned in a comment, a task assigned to them is updated, a task's deadline is approaching (24h warning)." }, { "fro...
{ "doc_type": "product_requirements", "domain": "product_documentation", "audience": "product_engineering" }
de690a91-054f-4073-8850-6e7bd7c0672d
[ { "from": "human", "value": "Write a migration guide for developers upgrading from v1 to v2 of an authentication SDK. The breaking changes are: (1) `auth.login()` now returns a Promise instead of using callbacks, (2) the `user` object now has `user.profile.email` instead of `user.email`, (3) the `logout()` ...
{ "doc_type": "migration_guide", "domain": "sdk_documentation", "audience": "developers" }
0e08067f-a49f-4a09-9202-154a31cc1eeb
[ { "from": "human", "value": "Write a data dictionary for a PostgreSQL table called `orders` used in an e-commerce platform. The table has columns: id, customer_id, status, subtotal, tax_amount, total, currency, payment_method, shipping_address (JSONB), created_at, updated_at, fulfilled_at, cancelled_at." ...
{ "doc_type": "data_dictionary", "domain": "database_documentation", "audience": "developers" }
3de26d5c-dd96-47cb-a0e0-4109794b4422
[ { "from": "human", "value": "Write a runbook for responding to high database CPU alerts. The database is PostgreSQL running on RDS. The runbook should include immediate actions, diagnostic steps, and escalation criteria." }, { "from": "gpt", "value": "# Runbook: High Database CPU Alert\n\n**Aler...
{ "doc_type": "runbook", "domain": "infrastructure", "audience": "on_call_engineers" }
5e76a704-f1fd-4740-8317-f1d98ca864da
[ { "from": "human", "value": "Write clear error messages for a form validation library. The library needs error messages for: required field empty, email format invalid, password too short (min 8 chars), password missing uppercase, passwords don't match, phone number format invalid, credit card number invali...
{ "doc_type": "style_guide", "domain": "ux_writing", "audience": "product_teams" }
2554446b-bf1d-4589-b7b5-57117c8327d6
[ { "from": "human", "value": "Write a security review checklist for code review. The checklist should cover: input validation, authentication/authorization, sensitive data handling, SQL injection, XSS, and dependency security." }, { "from": "gpt", "value": "# Security Code Review Checklist\n\nUse...
{ "doc_type": "checklist", "domain": "security", "audience": "developers" }
5a568b1a-2a0c-49ba-affb-8d2803ef01c0
[ { "from": "human", "value": "Write a guide for setting up a local development environment for a Node.js + PostgreSQL application. The application uses Docker Compose for local services, environment variables from `.env`, npm for dependencies, and Prisma for database migrations." }, { "from": "gpt", ...
{ "doc_type": "setup_guide", "domain": "developer_onboarding", "audience": "developers" }
76a1e1b3-9b92-42cd-955d-6ebaa14f3ea1
[ { "from": "human", "value": "Write a technical spec for a feature: adding rate limiting to our internal microservices API gateway. The spec should cover: problem statement, proposed solution (token bucket algorithm), configuration options, failure behavior, monitoring, and rollout plan." }, { "from"...
{ "doc_type": "technical_spec", "domain": "infrastructure", "audience": "engineers" }
3178d228-430a-4e78-8bbb-17fea073cc9f
[ { "from": "human", "value": "Write a runbook for responding to high database CPU alerts. The database is PostgreSQL running on RDS. The runbook should include immediate actions, diagnostic steps, and escalation criteria." }, { "from": "gpt", "value": "# Runbook: High Database CPU Alert\n\n**Aler...
{ "doc_type": "runbook", "domain": "infrastructure", "audience": "on_call_engineers" }
2d59603c-6264-41d3-a8bb-2b934364138c
[ { "from": "human", "value": "Write a deprecation notice for an API endpoint that will be removed in 6 months. The endpoint is `GET /v1/users/{id}/activity` and it's being replaced by `GET /v2/activity?user_id={id}` which has more filtering options." }, { "from": "gpt", "value": "## Deprecation N...
{ "doc_type": "deprecation_notice", "domain": "api_documentation", "audience": "developers" }
5cff9f58-9d6d-4edd-9b21-e584fcd43316
[ { "from": "human", "value": "Write a system design document overview section for a URL shortening service. The document should describe the scope, scale requirements, high-level architecture, and key design decisions." }, { "from": "gpt", "value": "# URL Shortening Service — System Design\n\n## ...
{ "doc_type": "system_design", "domain": "architecture", "audience": "engineers" }
b2a8298d-b1fa-4777-9cb6-06a41d16179f
[ { "from": "human", "value": "Write a style guide section for API error responses. The guide should establish conventions for error response format, HTTP status code usage, error codes, and human-readable messages. Aimed at backend developers building internal and external APIs." }, { "from": "gpt", ...
{ "doc_type": "style_guide", "domain": "api_design", "audience": "developers" }
7743ea94-76e0-4b69-8aa9-2135a9dc3f24
[ { "from": "human", "value": "Write API documentation for a `POST /v1/webhooks` endpoint. The endpoint creates a webhook subscription. Request body fields: `url` (required, string, the HTTPS endpoint to deliver events to), `events` (required, array of strings, list of event types to subscribe to), `secret` (...
{ "doc_type": "api_reference", "domain": "api_documentation", "audience": "developers" }
bcd5ea8e-df0c-421f-8e10-042d4a433f52
[ { "from": "human", "value": "Write a decision document (architecture decision record) for choosing between REST and GraphQL for a new public API. The context: building a platform API for third-party developers, the team has REST experience, clients will be mobile apps and web dashboards." }, { "from...
{ "doc_type": "architecture_decision_record", "domain": "engineering_process", "audience": "engineers" }
a2a11561-00c3-4f96-ad85-10dc5c1c4c74
[ { "from": "human", "value": "Write a data dictionary for a PostgreSQL table called `orders` used in an e-commerce platform. The table has columns: id, customer_id, status, subtotal, tax_amount, total, currency, payment_method, shipping_address (JSONB), created_at, updated_at, fulfilled_at, cancelled_at." ...
{ "doc_type": "data_dictionary", "domain": "database_documentation", "audience": "developers" }
897cacf6-efa8-4f41-a1bd-d279e6dd926c
[ { "from": "human", "value": "Write clear error messages for a form validation library. The library needs error messages for: required field empty, email format invalid, password too short (min 8 chars), password missing uppercase, passwords don't match, phone number format invalid, credit card number invali...
{ "doc_type": "style_guide", "domain": "ux_writing", "audience": "product_teams" }
6a542556-68ef-470d-9704-7d017ce7838b
[ { "from": "human", "value": "Write the docstring for a Python function `calculate_compound_interest(principal, rate, periods, compounds_per_period=1)` that calculates compound interest. The function should have a comprehensive Google-style docstring with Args, Returns, Raises, and an Example section." }, ...
{ "doc_type": "docstring", "domain": "python_documentation", "audience": "developers" }
05871022-4e0f-4eed-9fc6-9fc0fa0798cd
[ { "from": "human", "value": "Write a guide for setting up a local development environment for a Node.js + PostgreSQL application. The application uses Docker Compose for local services, environment variables from `.env`, npm for dependencies, and Prisma for database migrations." }, { "from": "gpt", ...
{ "doc_type": "setup_guide", "domain": "developer_onboarding", "audience": "developers" }
4d4dd7ce-98f1-4957-a16d-3fd687ffcb59
[ { "from": "human", "value": "Write clear error messages for a form validation library. The library needs error messages for: required field empty, email format invalid, password too short (min 8 chars), password missing uppercase, passwords don't match, phone number format invalid, credit card number invali...
{ "doc_type": "style_guide", "domain": "ux_writing", "audience": "product_teams" }
3467e8de-ae0f-4845-89b1-b1ce5b9c0aa8
[ { "from": "human", "value": "Write a technical blog post introduction and structure for an article titled 'Why Your LLM Application Is Slower Than It Needs to Be'. The post should be aimed at engineers building production LLM apps and cover 5 common performance mistakes." }, { "from": "gpt", "va...
{ "doc_type": "blog_post", "domain": "engineering_content", "audience": "engineers" }
745dd1d3-6ae6-49c6-b46c-a55e84db1516
[ { "from": "human", "value": "Write a user story and acceptance criteria for a feature: users should be able to export their data in CSV format from the admin dashboard. The feature should support filtering by date range and selecting which data types to export (users, orders, products)." }, { "from"...
{ "doc_type": "user_story", "domain": "product_documentation", "audience": "product_engineering" }
f8faaf34-4bd4-41ed-a8eb-977fe7e6349e
[ { "from": "human", "value": "Write a user story and acceptance criteria for a feature: users should be able to export their data in CSV format from the admin dashboard. The feature should support filtering by date range and selecting which data types to export (users, orders, products)." }, { "from"...
{ "doc_type": "user_story", "domain": "product_documentation", "audience": "product_engineering" }
2075ea18-7c57-4fa8-8fb2-c10630bc31fb
[ { "from": "human", "value": "Write a user story and acceptance criteria for a feature: users should be able to export their data in CSV format from the admin dashboard. The feature should support filtering by date range and selecting which data types to export (users, orders, products)." }, { "from"...
{ "doc_type": "user_story", "domain": "product_documentation", "audience": "product_engineering" }
73c9a01a-be79-4324-8302-88bef807d535
[ { "from": "human", "value": "Write the docstring for a Python function `calculate_compound_interest(principal, rate, periods, compounds_per_period=1)` that calculates compound interest. The function should have a comprehensive Google-style docstring with Args, Returns, Raises, and an Example section." }, ...
{ "doc_type": "docstring", "domain": "python_documentation", "audience": "developers" }
700b07c6-5d0e-4cfc-a716-9e418a5af69f
[ { "from": "human", "value": "Write a concise onboarding document for new engineers joining a data platform team. Cover: what the team owns, key systems they'll interact with, how to get access, the first week agenda, and where to ask questions." }, { "from": "gpt", "value": "# Data Platform Team...
{ "doc_type": "onboarding_guide", "domain": "team_documentation", "audience": "new_engineers" }
fcffe1be-6ebe-49ac-b460-568e6fd782b9
[ { "from": "human", "value": "Write the docstring for a Python function `calculate_compound_interest(principal, rate, periods, compounds_per_period=1)` that calculates compound interest. The function should have a comprehensive Google-style docstring with Args, Returns, Raises, and an Example section." }, ...
{ "doc_type": "docstring", "domain": "python_documentation", "audience": "developers" }
3457db6a-beac-4345-8031-e5cdbbe79296
[ { "from": "human", "value": "Write API documentation for a `POST /v1/webhooks` endpoint. The endpoint creates a webhook subscription. Request body fields: `url` (required, string, the HTTPS endpoint to deliver events to), `events` (required, array of strings, list of event types to subscribe to), `secret` (...
{ "doc_type": "api_reference", "domain": "api_documentation", "audience": "developers" }
3fea1242-4311-4d65-b972-da764dc5f3e5
[ { "from": "human", "value": "Write a migration guide for developers upgrading from v1 to v2 of an authentication SDK. The breaking changes are: (1) `auth.login()` now returns a Promise instead of using callbacks, (2) the `user` object now has `user.profile.email` instead of `user.email`, (3) the `logout()` ...
{ "doc_type": "migration_guide", "domain": "sdk_documentation", "audience": "developers" }
65d4ffb9-cafb-4a72-aa17-f075be9583e9
[ { "from": "human", "value": "Write a data dictionary for a PostgreSQL table called `orders` used in an e-commerce platform. The table has columns: id, customer_id, status, subtotal, tax_amount, total, currency, payment_method, shipping_address (JSONB), created_at, updated_at, fulfilled_at, cancelled_at." ...
{ "doc_type": "data_dictionary", "domain": "database_documentation", "audience": "developers" }
0bed9978-faf1-4b66-b7fc-c5f4c1e83669
[ { "from": "human", "value": "Write a product requirements document (PRD) for a feature: real-time notifications for a project management app. Users should get notified when: they're mentioned in a comment, a task assigned to them is updated, a task's deadline is approaching (24h warning)." }, { "fro...
{ "doc_type": "product_requirements", "domain": "product_documentation", "audience": "product_engineering" }
be2302e2-8385-40d0-a238-1ba4edd02919
[ { "from": "human", "value": "Write a concise onboarding document for new engineers joining a data platform team. Cover: what the team owns, key systems they'll interact with, how to get access, the first week agenda, and where to ask questions." }, { "from": "gpt", "value": "# Data Platform Team...
{ "doc_type": "onboarding_guide", "domain": "team_documentation", "audience": "new_engineers" }
a3492ba0-3f7b-427e-8f04-b18b81d82cce
[ { "from": "human", "value": "Write clear error messages for a form validation library. The library needs error messages for: required field empty, email format invalid, password too short (min 8 chars), password missing uppercase, passwords don't match, phone number format invalid, credit card number invali...
{ "doc_type": "style_guide", "domain": "ux_writing", "audience": "product_teams" }
f51b6a25-6a6e-4af4-bf4d-2ec06a860d20
[ { "from": "human", "value": "Write a README for a Python library called `vectorstore` that provides a simple interface for storing and searching embeddings. The library supports SQLite and Postgres backends, has a simple API (add, search, delete), and is aimed at developers building RAG applications." }, ...
{ "doc_type": "readme", "domain": "developer_library", "audience": "developers" }
cad7afa1-0e52-46db-971e-6f55915cec6d
[ { "from": "human", "value": "Write a technical spec for a feature: adding rate limiting to our internal microservices API gateway. The spec should cover: problem statement, proposed solution (token bucket algorithm), configuration options, failure behavior, monitoring, and rollout plan." }, { "from"...
{ "doc_type": "technical_spec", "domain": "infrastructure", "audience": "engineers" }
376f29e6-03f9-4e28-91b1-2468adcece07
[ { "from": "human", "value": "Write a data dictionary for a PostgreSQL table called `orders` used in an e-commerce platform. The table has columns: id, customer_id, status, subtotal, tax_amount, total, currency, payment_method, shipping_address (JSONB), created_at, updated_at, fulfilled_at, cancelled_at." ...
{ "doc_type": "data_dictionary", "domain": "database_documentation", "audience": "developers" }
b9b089ff-4865-4373-a508-6ef70e105e4a
[ { "from": "human", "value": "Write a user story and acceptance criteria for a feature: users should be able to export their data in CSV format from the admin dashboard. The feature should support filtering by date range and selecting which data types to export (users, orders, products)." }, { "from"...
{ "doc_type": "user_story", "domain": "product_documentation", "audience": "product_engineering" }
11768fc2-03cf-4e20-9197-666108d8cc12
[ { "from": "human", "value": "Write a style guide section for API error responses. The guide should establish conventions for error response format, HTTP status code usage, error codes, and human-readable messages. Aimed at backend developers building internal and external APIs." }, { "from": "gpt", ...
{ "doc_type": "style_guide", "domain": "api_design", "audience": "developers" }
e2b63cd8-c272-488e-bc8a-dfcbbb1f4880
[ { "from": "human", "value": "Write a system design document overview section for a URL shortening service. The document should describe the scope, scale requirements, high-level architecture, and key design decisions." }, { "from": "gpt", "value": "# URL Shortening Service — System Design\n\n## ...
{ "doc_type": "system_design", "domain": "architecture", "audience": "engineers" }
029d6cd6-54c5-4ffa-8f41-4ff87fd4fcc4
[ { "from": "human", "value": "Write clear error messages for a form validation library. The library needs error messages for: required field empty, email format invalid, password too short (min 8 chars), password missing uppercase, passwords don't match, phone number format invalid, credit card number invali...
{ "doc_type": "style_guide", "domain": "ux_writing", "audience": "product_teams" }
1c0887b5-2287-4ee9-ba39-a5e59ad863d4
[ { "from": "human", "value": "Write a security review checklist for code review. The checklist should cover: input validation, authentication/authorization, sensitive data handling, SQL injection, XSS, and dependency security." }, { "from": "gpt", "value": "# Security Code Review Checklist\n\nUse...
{ "doc_type": "checklist", "domain": "security", "audience": "developers" }
6bcf7b74-ada7-4bf1-8dcc-4561f7452dcc
[ { "from": "human", "value": "Write a concise onboarding document for new engineers joining a data platform team. Cover: what the team owns, key systems they'll interact with, how to get access, the first week agenda, and where to ask questions." }, { "from": "gpt", "value": "# Data Platform Team...
{ "doc_type": "onboarding_guide", "domain": "team_documentation", "audience": "new_engineers" }
90f70bee-eb69-48eb-8265-e8626bfc200c
[ { "from": "human", "value": "Write API documentation for a `POST /v1/webhooks` endpoint. The endpoint creates a webhook subscription. Request body fields: `url` (required, string, the HTTPS endpoint to deliver events to), `events` (required, array of strings, list of event types to subscribe to), `secret` (...
{ "doc_type": "api_reference", "domain": "api_documentation", "audience": "developers" }
9a376425-c58c-4a6f-9419-6224bf0c902c
[ { "from": "human", "value": "Write a data dictionary for a PostgreSQL table called `orders` used in an e-commerce platform. The table has columns: id, customer_id, status, subtotal, tax_amount, total, currency, payment_method, shipping_address (JSONB), created_at, updated_at, fulfilled_at, cancelled_at." ...
{ "doc_type": "data_dictionary", "domain": "database_documentation", "audience": "developers" }
113afae2-c9a1-4406-9d74-af072413850f
[ { "from": "human", "value": "Write a migration guide for developers upgrading from v1 to v2 of an authentication SDK. The breaking changes are: (1) `auth.login()` now returns a Promise instead of using callbacks, (2) the `user` object now has `user.profile.email` instead of `user.email`, (3) the `logout()` ...
{ "doc_type": "migration_guide", "domain": "sdk_documentation", "audience": "developers" }
3f568a5b-8349-4ead-9f37-bff02b0e9e2b
[ { "from": "human", "value": "Write a guide for setting up a local development environment for a Node.js + PostgreSQL application. The application uses Docker Compose for local services, environment variables from `.env`, npm for dependencies, and Prisma for database migrations." }, { "from": "gpt", ...
{ "doc_type": "setup_guide", "domain": "developer_onboarding", "audience": "developers" }
f084e3c7-a291-46f7-b9a8-761ab63acbda