# Add dedicated pages for every library · PR \#22 · screen/col

[View on GitCafe](https://git.cafe/screen/col/pull/22)

Repository: [screen/col](https://git.cafe/screen/col)

Visibility: public

State: merged

Source repository: screen/col

Source branch: feat/library-detail-pages

Target branch: main

Head commit: 8856ae786360c38d23f583a162581e976e110e73

[Discussion and reviews](https://git.cafe/screen/col/pull/22)

[Commits](https://git.cafe/screen/col/pull/22/commits?format=markdown)

[Files changed](https://git.cafe/screen/col/pull/22/diffs?format=markdown)

## Description

---

## What changed

- Add a generated `/libraries/[slug]` page for every library in the registry, with official website, docs, repository when available, installation guidance, and a copyable agent setup prompt.
- Send directory cards to the internal detail page while keeping a direct official website action.
- Add per-library metadata and sitemap entries, return 404 for unknown slugs, and update docs to describe the new route.

## What this solves

Visitors can inspect a library and start using it without leaving Col to piece together its official sources and setup steps. The directory now has a useful destination for every listing.

Closes #1. Related to #2; alternatives, related libraries, and the broader visual pass remain separate.

## Verification

- `npm run build` (56 detail routes generated)
- `npm test` (8 passed)
- `git diff --check origin/main...origin/feat/library-detail-pages`

Live browser testing was not run, per project instructions.


<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

* **New Features**
  * Added dedicated pages for each library, with official documentation links, setup instructions, and copyable prompts tailored to the library.
  * Library listings now link to these detail pages, which include installation commands and optional repository links and previews.
  * Library pages are included in the sitemap.

* **Documentation**
  * Updated the project guide and contributor checklist to explain library detail pages and their setup guidance.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
