Loading...
Loading...
Create a ***plain module that uses requires to depend on another module in the build chain. Use when the user wants to create a new .plain file that builds on top of a previously built module, inheriting its functional specs and generated code as a starting point.
npx skill4agent add codeplain-ai/plain-forge create-requires-moduleload-plain-referencerequiresrequiresplain_modules/<required_module>***functional specs***exported_conceptsrequiresimportcreate-import-module.plainrequirestemplate/exported_conceptsrequires---
requires:
- base_module
import:
- shared_template
description: Extended module that builds on base_module
---
***definitions***
- :NewFeature: is a feature added by this module.
***functional specs***
- The system should support :NewFeature:.requiresimportrequiresimporttemplate/exported_concepts> In the required module's frontmatter:
---
exported_concepts: [":StorageClient:", ":BackupResult:"]
---:StorageClient::BackupResult:requirerequiresrequires| Aspect | | |
|---|---|---|
| Pulls in definitions | Yes | No (only |
| Pulls in implementation reqs | Yes | No |
| Pulls in test reqs | Yes | No |
| Pulls in functional specs | No | Yes (as previous requirements) |
| Copies generated code | No | Yes |
| Typical use | Templates, shared definitions | Build dependency chain |
template/exported_conceptsrequiresimport---