PageAI-Pro / PageAI-Pro/ralph-loop

prd creator writes full code into task details

Open
#2 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
304
Forks
43
PR merge metrics
No merged PRs in 30d

Description

Great stuff, thanks! I adopted it for python and testing it out a bit.

One thing I noticed: The prd creator skill write whole code verbatim int the details section of the task. I don't believe that is intended. Any thought on this? Updating the skill or fixing this in the task review phase?

Example:

{
  "id": "TASK-024",
  "title": "Configure URL patterns for todos app",
  "category": "setup",
  "description": "Define all URL patterns in todos/urls.py and include them in the main testapp/urls.py. Use the app_name 'todos' for namespacing.",
  "acceptanceCriteria": [
    "todos/urls.py has app_name = 'todos'",
    "All views are accessible at their expected URLs",
    "Main urls.py includes todos.urls with no prefix (or / prefix)",
    "Login URL is /login/, logout is /logout/, dashboard is /",
    "Running `python manage.py check` shows no URL errors"
  ],
  "steps": [
    {
      "step": 1,
      "description": "Populate todos/urls.py",
      "details": "In todos/urls.py:\n\nfrom django.urls import path\nfrom . import views\n\napp_name = 'todos'\n\nurlpatterns = [\n    path('', views.dashboard, name='dashboard'),\n    path('login/', views.login_view, name='login'),\n    path('logout/', views.logout_view, name='logout'),\n    path('categories/new/', views.category_create, name='category_create'),\n    path('categories/<int:pk>/', views.category_detail, name='category_detail'),\n    path('categories/<int:pk>/edit/', views.category_edit, name='category_edit'),\n    path('categories/<int:pk>/delete/', views.category_delete, name='category_delete'),\n    path('categories/<int:pk>/share/', views.category_share, name='category_share'),\n    path('categories/<int:pk>/share/remove/<int:member_pk>/', views.category_remove_member, name='category_remove_member'),\n    path('categories/<int:category_pk>/todos/add/', views.todo_add, name='todo_add'),\n    path('todos/<int:pk>/toggle/', views.todo_toggle, name='todo_toggle'),\n    path('todos/<int:pk>/edit/', views.todo_edit, name='todo_edit'),\n    path('todos/<int:pk>/delete/', views.todo_delete, name='todo_delete'),\n]",
      "pass": false
    },
    {
      "step": 2,
      "description": "Include todos URLs in main urls.py",
      "details": "In testapp/urls.py, add:\n\nfrom django.urls import path, include\n\nurlpatterns = [\n    path('admin/', admin.site.urls),\n    path('', include('todos.urls')),\n]",
      "pass": false
    },
    {
      "step": 3,
      "description": "Set LOGIN_URL in settings",
      "details": "In settings.py add: LOGIN_URL = '/login/' so that @login_required redirects to the custom login page.",
      "pass": false
    }
  ],
  "dependencies": ["TASK-022", "TASK-020"],
  "estimatedComplexity": "low"
}
``

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report concerns the PRD creator skill and the task review phase, but names no repository files or tests. Start by locating the code that generates task details and inspect how the skill handles code examples. Done means generated task details no longer include whole code blocks, with the behavior covered by an appropriate test or reproducible check.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
ai, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.