| name | package-info |
| description | Quick lookup for a Fluent UI package — path, dependencies, owner team, Nx project details, and relevant docs |
| argument-hint | <package-name> |
| allowed-tools | Bash Read Grep Glob |
Package Info Lookup
Get a comprehensive overview of the package $ARGUMENTS.
Steps
-
Resolve the package path. Map the name to a filesystem path:
react-button or @fluentui/react-button → packages/react-components/react-button/
- Check both
library/ (source) and stories/ (storybook) sub-packages
-
Get Nx project details:
yarn nx show project @fluentui/$ARGUMENTS --json 2>/dev/null || yarn nx show project $ARGUMENTS --json 2>/dev/null
-
Read the package.json for version, dependencies, and peer dependencies.
-
Check ownership by searching CODEOWNERS:
grep -i "$ARGUMENTS" CODEOWNERS
-
Summarize the component structure — list files under library/src/components/.
-
Check test coverage — does it have:
- Unit tests (
*.test.tsx)
- Conformance tests (
testing/isConformant.ts)
- Stories (
stories/ package)
-
Report in this format:
Package: @fluentui/<name>
Path: packages/react-components/<name>/library/
Version: x.y.z
Tier: 3 (Component) | 2 (Foundation) | 1 (Core)
Owner: <team from CODEOWNERS>
Dependencies: <list relevant @fluentui deps>
Components: <list exported components>
Tests: unit ✓/✗ | conformance ✓/✗ | stories ✓/✗
Useful Commands for the Package
yarn nx run <project>:build
yarn nx run <project>:test
yarn nx run <project>:lint
yarn nx run <project>:type-check
yarn nx run <project>:generate-api
References