Skip to content

Instantly share code, notes, and snippets.

View FabianWesner's full-sized avatar

Fabian Wesner FabianWesner

  • Berlin
View GitHub Profile
# Feature Specification Brainstorming
Start a collaborative brainstorming session for the feature: **$ARGUMENTS**
## Instructions
### 1. Create Q&A File
Create the questions file at: `specs/YYYY-MM-DD_questions_{{feature_name}}.md` (use today's date and the feature name from arguments, use underscores for spaces).

Update Development Diary

Create or update the diary.md file in the project root with development activity from Claude Code history and git logs.

Instructions

1. Extract Claude Code History with Active Time

Run this to get project history grouped by day with active time (excluding gaps >30 min):

Create module

Key Value
Module BusinessOnBehalf
ModuleNamespace Spryker

console spryk:generate -foo=bar

public function test1Action()
{
SpyCustomerQuery::create()->deleteAll();
$ms = microtime(true);
$con = Propel::getConnection();
$con->beginTransaction();
<?php
namespace Spryker\Zed\Mail\Business;
class MailBusinessFactory extends AbstractBusinessFactory
{
/**
* @return \Spryker\Zed\Mail\Business\Model\Mailer\MailHandlerInterface
*/
<?php
namespace Spryker\Zed\Mail\Business;
class MailBusinessFactory extends AbstractBusinessFactory
{
/**
* @return \Spryker\Zed\Mail\Business\Model\Mailer\MailHandlerInterface
*/
<?php
namespace Spryker\Zed\Mail\Business\Model\Mailer;
class MailHandler implements MailHandlerInterface
{
/**
* @var \Spryker\Zed\Mail\Business\Model\Mail\Builder\MailBuilderInterface
*/
<?php
namespace Spryker\Zed\Discount\Business\Calculator;
class Discount implements DiscountInterface
{
/**
* @var \Spryker\Zed\Discount\Persistence\DiscountQueryContainerInterface
*/
protected $queryContainer;
@FabianWesner
FabianWesner / ProductManager.php
Last active March 17, 2017 08:52
Spryker DI example
<?php
class ProductManager implements ProductManagerInterface
{
/**
* @var \Spryker\Zed\Product\Persistence\ProductQueryContainerInterface
*/
protected $productQueryContainer;
<?php
namespace Pyz\Client\Glossary;
use Pyz\Client\Kernel\AbstractFactory;
class GlossaryFactory extends AbstractFactory
{
}