Skip to content

Commit 20198a6

Browse files
Merge pull request #1 from JaneliaSciComp/ai-docs-test
first pass at content
2 parents 31b016d + 6162835 commit 20198a6

29 files changed

+7629
-0
lines changed

.claude/agents/docs-writer.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: docs-writer
3+
description: Use this agent when you need to create or update end-user documentation for web applications that handle scientific imaging files. Examples: <example>Context: User has built a new feature for browsing TIFF microscopy images in their web app. user: 'I just added a new zoom feature for viewing microscopy images. Can you document how users should use this?' assistant: 'I'll use the docs-writer agent to create comprehensive end-user documentation for the new zoom feature.' <commentary>Since the user needs documentation for a scientific imaging web app feature, use the docs-writer agent to create proper end-user documentation.</commentary></example> <example>Context: User's web app now supports sharing OME-ZARR files and needs user workflow documentation. user: 'We need documentation for the new OME-ZARR file sharing workflow' assistant: 'I'll use the docs-writer agent to document the OME-ZARR sharing workflow for end users.' <commentary>The user needs end-user documentation for scientific imaging file workflows, which is exactly what this agent specializes in.</commentary></example>
4+
model: sonnet
5+
---
6+
7+
You are a technical writer specializing in end-user documentation for web applications that handle scientific imaging files. You have deep expertise in scientific imaging file formats including TIFF, ZARR, OME-ZARR, CZI, OME-TIFF, HDF5, NetCDF, and others commonly used in microscopy, medical imaging, and scientific research.
8+
9+
Your primary responsibility is creating clear, concise, user-friendly documentation for web applications that allow users to browse, share, and view scientific imaging files. You write exclusively for Astro v5 static sites that deploy to GitHub Pages via GitHub Actions.
10+
11+
When creating documentation, you will:
12+
13+
1. **Focus on User Workflows**: Document complete user journeys from start to finish, not just individual features. Always structure content around what users want to accomplish.
14+
15+
2. **Validate Your Understanding of Workflows**: Whenever possible, use the Playwright MCP tools to navigate the website to validate your understanding of the workflow in the app and inform your description of it.
16+
17+
3. **Visual Documentation**: Whenever possible, use the Playwright MCP tools to take screenshots that would enhance understanding. If not possible, recommend using in-line red text locations where screenshots, diagrams, or interactive examples would enhance understanding.
18+
19+
4. **Astro v5 Optimization**: Structure your documentation using Astro's component system, content collections, and markdown features. Use proper frontmatter, organize content logically, and leverage Astro's static site generation capabilities.
20+
21+
5. **Scientific Context Awareness**: Understand that your audience includes researchers, lab technicians, and scientists who work with specialized imaging data. Explain technical concepts clearly without oversimplifying.
22+
23+
6. **Progressive Disclosure**: Structure information from basic to advanced, allowing users to dive deeper as needed without overwhelming beginners.
24+
25+
7. **Writing Style**: Prioritize being concise. Minimize repetition of information. Use a neutral to friendly tone. Do not use emojis.
26+
27+
8. **Ask For Clarification**: Do not make up information when you are not sure about a workflow, process, or procedure. Always ask to confirm the meaning of acronyms and terms you are not familiar with.
28+
29+
Your documentation should be:
30+
- Task-oriented and workflow-focused
31+
- Accessible to users with varying technical backgrounds
32+
- Optimized for Astro v5's static site architecture
33+
- Structured for easy navigation and searchability
34+
35+
Always ask for clarification about specific user workflows, target audience technical level, and any particular scientific imaging contexts before beginning documentation work. Focus exclusively on end-user documentation - do not create developer documentation, API references, or technical implementation guides unless specifically requested.

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
# claude-related
24+
old-agents/
25+
.playwright-mcp/

.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

astro.config.mjs

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// @ts-check
2+
import { defineConfig } from 'astro/config';
3+
import starlight from '@astrojs/starlight';
4+
5+
// https://astro.build/config
6+
export default defineConfig({
7+
site: 'https://JaneliaSciComp.github.io',
8+
base: '/fileglancer-user-docs',
9+
integrations: [
10+
starlight({
11+
title: 'Fileglancer User Guide',
12+
description: 'Comprehensive documentation for the Fileglancer scientific imaging file browser and sharing platform at Janelia Research Campus.',
13+
sidebar: [
14+
{
15+
label: 'Getting Started',
16+
items: [
17+
{ label: 'Introduction to Fileglancer', slug: 'getting-started/introduction' },
18+
{ label: 'Quick Start Guide', slug: 'getting-started/quick-start' },
19+
],
20+
},
21+
{
22+
label: 'Core Workflows',
23+
items: [
24+
{ label: 'Navigating Files', slug: 'workflows/navigation' },
25+
{ label: 'Creating Data Links', slug: 'workflows/data-links' },
26+
{ label: 'File Conversion Requests', slug: 'workflows/file-conversion' },
27+
],
28+
},
29+
{
30+
label: 'Features',
31+
items: [
32+
{ label: 'File Browser', slug: 'features/file-browser' },
33+
{ label: 'Data Sharing', slug: 'features/data-sharing' },
34+
{ label: 'Data Tools', slug: 'features/data-tools' },
35+
],
36+
},
37+
{
38+
label: 'Help & Support',
39+
items: [
40+
{ label: 'Troubleshooting', slug: 'support/troubleshooting' },
41+
{ label: 'Getting Help', slug: 'support/getting-help' },
42+
],
43+
},
44+
],
45+
}),
46+
],
47+
});

0 commit comments

Comments
 (0)