ba-mode-multi-doc
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
BA Phase 1.B ingestion mode (ingest-from-multi-doc). Load when Shape Detection selects Mode B: docs/SRS.md plus some/all per-US and per-FR files already exist but the index-to-file pairing has orphans. Validates each per-file artifact and flags gaps for the common pipeline.
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
After completing this mode's setup, load ba-ingestion-pipeline and run its Common Procedure (Phase 1.X) → Delta Detection (Phase 1.Z) → …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
BA Mode B — ingest-from-multi-doc
When to use
You are the BA and Shape Detection selected Mode B: docs/SRS.md plus some/all of docs/user-stories/*.md + docs/frs/*.md already exist, but the pairing has orphans. Validate each per-file artifact and identify the gaps the common pipeline will close.
Phase 1.B — Mode ingest-from-multi-doc setup
The incoming repo already has docs/SRS.md + some/all of docs/user-stories/*.md + docs/frs/*.md. Your job is to validate each per-file artifact and identify the gaps the common procedure will close.
B1. Per-file structural validation. For each docs/user-stories/<US-ID>.md, verify it has Description, Pre-conditions, Main Flow, Business Rules, Post-conditions, Linked artifacts sections per user-story-template.md. For each docs/frs/<FR-ID>.md, verify Description, Preconditions, Main Flow, Business Rules, Input Schema, Output Schema, Error Handling, Sequence Diagram per frs-template.md. Missing-section issues become OQs in Phase 1.X.
B2. Index-vs-file pairing. Phase 1.X Step 0a + 0b handle this. Note in advance which orphans you've detected so the common procedure produces OQs of the right granularity.
B3. Set Source: inline if not already set.
B4. Gap detection (no invention). Walk every per-file artifact (docs/user-stories/<US-ID>.md, docs/frs/<FR-ID>.md) against its template's required sub-sections. For every required sub-section that's missing or empty, leave a TODO: <sub-section expected> marker in the file AND raise a paired OQ in SRS §8 citing the file+sub-section. Same for the SRS body — apply Gap Handling per srs-ingestion-checklist.md § Gap Handling. Never auto-author missing content.
B5. Conflict detection (batched). Cross-reference per-file artifacts for contradictions (US-001's Business Rules vs FR-001's Error Handling; two USes claiming the same capability with different roles; etc.) AND against the SRS body. Accumulate all conflicts. Halt with one batched NEEDS_CONTEXT if any exist. Single round-trip.
B6. Proceed to Phase 1.X common procedure.
Next step
After completing this mode's setup, load ba-ingestion-pipeline and run its Common Procedure (Phase 1.X) → Delta Detection (Phase 1.Z) → Sign-off Gate (Phase 2).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

