ワンクリックで
cammp-mcp
Generate Clean Architecture module structure using the CAMMP MCP server
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate Clean Architecture module structure using the CAMMP MCP server
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | cammp-mcp |
| description | Generate Clean Architecture module structure using the CAMMP MCP server |
| argument-hint | [feature-name] |
| disable-model-invocation | true |
Generate a Clean Architecture module structure for an Android/KMP feature using the CAMMP MCP server's generate_feature tool.
First, verify the generate_feature MCP tool is available. If it is NOT available, tell the user:
The CAMMP MCP server is not configured. Either:
- Add it to your MCP config:
java -jar cammp-mcp.jarvia stdio transport- Use
/cammpinstead (standalone skill, no MCP server required)
If the tool IS available, proceed with parameter gathering.
Use $ARGUMENTS as the feature name. If empty, ask the user what feature to generate.
Feature names support paths (e.g., account/login) and kebab-case (e.g., user-profile).
Infer from the current working directory. This should be the absolute path to the Android/KMP project root (where settings.gradle.kts or build.gradle.kts lives).
Infer from existing project files:
build.gradle.kts or build.gradle in the app module for namespace or applicationIdAndroidManifest.xml for the package attributecom.example.app)app)Check settings.gradle.kts for the project's root module name. Common values: app, shared, composeApp.
hilt)Ask the user which DI framework to use, or infer from existing project dependencies:
@Module, @InstallIn, @Binds annotations. Requires Hilt Gradle plugin.@Module, @Single, @Factory annotations. Requires koin-annotations KSP plugin.@DependencyGraph, @ContributesTo, @Inject annotations. Zero runtime reflection.none)Ask the user what datasource structure they want:
dataSource module for all data sources. Good for simple features with one data source.localDataSource module. For features that only need local storage (Room, DataStore, etc.).remoteDataSource module. For features that only need network access (Retrofit, Ktor, etc.).localDataSource and remoteDataSource modules. For features that need both local caching and remote API access.true) - Whether to include a presentation module with Compose UI scaffoldingfalse) - Whether to include an API module (public contract layer)true) - Whether to include a DI moduleCall the generate_feature MCP tool with the gathered parameters:
{
"featureName": "<feature-name>",
"projectPath": "<absolute-path-to-project-root>",
"packageName": "<base-package-name>",
"rootModule": "<root-module>",
"diStrategy": "<hilt|koin|koin_annotations|metro>",
"datasourceStrategy": "<none|combined|local_only|remote_only|local_and_remote>",
"includePresentation": true,
"includeApiModule": false,
"includeDiModule": true
}
After the tool returns successfully: