Update Prethink context

Proprietary

Generate Moderne Prethink context files with architectural discovery, test coverage mapping, dependency inventory, and FINOS CALM architecture diagrams.

io.moderne.prethink.UpdatePrethinkContextStarter

Optional

Which agent config files to update, creating any that do not exist yet. If not specified, updates all found files, creating CLAUDE.md when none exist. Separate values with commas.

mod run . --recipe=io.moderne.prethink.UpdatePrethinkContextStarter

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Find project metadata
  2. Find Node.js project metadata
  3. Find Python project metadata
  4. Find Go project metadata
  5. Find .NET project metadata
  6. Find Ruby project metadata
  7. Find service endpoints
  8. Find endpoint contracts
  9. Find NestJS endpoints
  10. Find Express endpoints
  11. Find Next.js endpoints
  12. Find tRPC endpoints
  13. Find Remix endpoints
  14. Find Node.js DTO field schemas
  15. Find Python DTO field schemas
  16. Find Django endpoints
  17. Find FastAPI endpoints
  18. Find FastAPI endpoint contracts and security
  19. Find Flask endpoints
  20. Find Go service endpoints
  21. Find ASP.NET Core endpoints
  22. Find ASP.NET Framework endpoints (Web API 2 and MVC 5)
  23. Find WCF service endpoints
  24. Find ASP.NET Web Forms endpoints
  25. Find Rails endpoints
  26. Find Sinatra and Grape endpoints
  27. Find GraphQL endpoints
  28. Find .NET GraphQL endpoints
  29. Find gRPC services
  30. Find Go gRPC services
  31. Find .NET gRPC services
  32. Find Python gRPC services
  33. Find WebSocket endpoints
  34. Find ASP.NET Core SignalR hubs
  35. Find database connections
  36. Find TypeORM entities
  37. Find Mongoose schemas
  38. Find Prisma usage
  39. Find SQLAlchemy and Django ORM models
  40. Find Go database connections
  41. Find Entity Framework / Dapper / ADO.NET database access
  42. Find ActiveRecord models
  43. Find external service calls
  44. Find Node.js HTTP clients
  45. Find Node.js API calls
  46. Find Go HTTP clients
  47. Find .NET HTTP clients
  48. Find Ruby HTTP clients
  49. Find Python HTTP and LLM clients
  50. Find messaging connections
  51. Find Node.js messaging
  52. Find Go messaging connections
  53. Find .NET messaging connections
  54. Find Ruby messaging
  55. Find server configuration
  56. Find data assets
  57. Find .NET data assets
  58. Find Go data assets
  59. Find Rails data assets
  60. Find DTO field schemas
  61. Find field examples from JSON fixtures
  62. Find deployment artifacts
  63. Find security configuration
  64. Find Node.js security configuration
  65. Find Ruby security configuration
  66. Find Go security configuration
  67. Find service components
  68. Find scheduled tasks
  69. Find .NET scheduled tasks
  70. Find Go scheduled tasks
  71. Find Ruby scheduled tasks
  72. Find Python scheduled tasks and background jobs
  73. Find .NET server configuration
  74. Find .NET security configuration
  75. Find .NET service components
  76. Extract coding conventions
  77. Extract error handling patterns
  78. Find exception handlers
  79. Find endpoint security
  80. Find .NET endpoint security
  81. Find .NET endpoint contracts
  82. Find .NET DTO field schemas
  83. Find .NET exception handlers
  84. Find Node.js error patterns
  85. Find Go error handling patterns
  86. Find .NET error patterns
  87. Find Ruby error handling patterns
  88. Find Python error handling patterns
  89. Find Python analysis coverage
  90. Export context files
  91. Find Go coding conventions
  92. Find JavaScript and TypeScript coding conventions
  93. Find Node.js build, lint and test tooling
  94. Export context files
  95. Find Python install, lint and test tooling
  96. Export context files
  97. Find pytest fixtures and markers
  98. Export context files
  99. Export context files
  100. Find Python packages and dependency issues
  101. Export context files
  102. Find Python schema migrations
  103. Export context files
  104. Find Python async issues
  105. Export context files
  106. Find Node.js workspace packages and duplicate dependency versions
  107. Export context files
  108. Find React components
  109. Export context files
  110. Find Ruby coding conventions
  111. Extract dependency usage patterns
  112. Extract Go dependencies and usage
  113. Extract Node.js dependencies and usage
  114. Find React state and data fetching
  115. Export context files
  116. Export context files
  117. Export context files
  118. Export context files
  119. Export context files
  120. Export context files
  121. Export context files
  122. Export context files
  123. Find CALM relationships
  124. Find method complexity
  125. Find Ruby method complexity
  126. Find JavaScript and TypeScript function complexity
  127. Export context files
  128. Find class quality metrics
  129. Find Go type quality metrics
  130. Find Ruby type quality metrics
  131. Export context files
  132. Find package quality metrics
  133. Find Go package quality metrics
  134. Find Ruby package quality metrics
  135. Export context files
  136. Find code smells
  137. Find Go code smells
  138. Find Python code smells
  139. Find React component smells
  140. Export context files
  141. Find SQL usage
  142. Export context files
  143. Find and fix SQL performance anti-patterns
  144. Export context files
  145. Find Node.js test coverage
  146. Find Python test coverage
  147. Find Go test coverage
  148. Find .NET test coverage
  149. Find Ruby test coverage
  150. Find test coverage mapping
  151. Export context files
  152. Find test coverage gaps
  153. Export context files
  154. Find flaky test patterns
  155. Find Node.js flaky test patterns
  156. Find Go flaky test patterns
  157. Find .NET flaky test patterns
  158. Find unmocked external calls in tests
  159. Find unmocked external calls in Node.js tests
  160. Find Go unmocked external calls
  161. Find unmocked external calls in .NET tests
  162. Find silent test failures
  163. Find Node.js silent test failures
  164. Find Go silent test failures
  165. Find .NET silent test failures
  166. Find fragile test data
  167. Find Node.js fragile test data
  168. Find Go fragile test data
  169. Find .NET fragile test data
  170. Find ghost tests
  171. Find Node.js ghost tests
  172. Find Go ghost tests
  173. Find .NET ghost tests
  174. Find overly broad mocks
  175. Find Go overly broad mocks
  176. Find overly broad mocks in .NET tests
  177. Find test code smells
  178. Find Node.js test code smells
  179. Find React Testing Library test issues
  180. Find Go test code smells
  181. Find .NET test code smells
  182. Find Python test quality issues
  183. Export context files
  184. Dependency report
  185. Python dependency report
  186. Extract Ruby dependencies
  187. Export context files
  188. Node.js dependency insight *
  189. Export context files
  190. Update Prethink context
  191. Generate architecture mermaid diagram
  192. Delete files .moderne/context/method-descriptions.csv
  193. Delete files .moderne/context/method-descriptions.md
  194. Delete files .moderne/context/class-descriptions.csv
  195. Delete files .moderne/context/class-descriptions.md
  196. Delete files .moderne/context/token-estimates.csv
  197. Delete files .moderne/context/token-estimates.md