> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Functional TypeScript

Use immutable values, declared functions, factories, typed Results, and exhaustive matching. Apply this pack to TypeScript source and examples.

## Shared principles

Read `bytefarm/engineering` through the installation index first. Its rules cover change discipline, pure logic, immutable ownership, failure propagation, dependency evaluation, and behavioral testing. Project commands and installation authorization come from the consumer's instructions.

| Task                            | Read                                                            |
| ------------------------------- | --------------------------------------------------------------- |
| Design capabilities and effects | [Paradigm](/packs/languages/typescript/paradigm.md)             |
| Name declarations               | [Naming](/packs/languages/typescript/naming.md)                 |
| Organize modules                | [File structure](/packs/languages/typescript/file-structure.md) |
| Declare operations              | [Functions](/packs/languages/typescript/functions.md)           |
| Model valid values              | [Types](/packs/languages/typescript/types.md)                   |
| Handle branches                 | [Conditionals](/packs/languages/typescript/conditionals.md)     |
| Return failures                 | [Errors](/packs/languages/typescript/errors.md)                 |
| Transform state                 | [State](/packs/languages/typescript/state.md)                   |
| Compose and reuse               | [Utilities](/packs/languages/typescript/utilities.md)           |
| Document public contracts       | [JSDoc](/packs/languages/typescript/comments.md)                |
| Verify behavior                 | [Testing](/packs/languages/typescript/testing.md)               |

Identity: `bytefarm/typescript-functional`. Content version: `0.1.0`.
